Package opennlp.tools.util.ext
Class ExtensionNotLoadedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
opennlp.tools.util.ext.ExtensionNotLoadedException
- All Implemented Interfaces:
Serializable
Exception indicates that an OpenNLP extension could not be loaded.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if OpenNLP is running in an OSGi environment or not.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExtensionNotLoadedException
-
ExtensionNotLoadedException
-
-
Method Details
-
isOSGiEnvironment
public boolean isOSGiEnvironment()Indicates if OpenNLP is running in an OSGi environment or not.- Returns:
- true if running in an OSGi environment
-