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
public class ExtensionNotLoadedException
- extends RuntimeException
Exception indicates that an OpenNLP extension could not be loaded.
- See Also:
- Serialized Form
Method Summary |
boolean |
isOSGiEnvironment()
Indicates if OpenNLP is running in an OSGi environment or not. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExtensionNotLoadedException
public ExtensionNotLoadedException(String message)
ExtensionNotLoadedException
public ExtensionNotLoadedException(Throwable t)
isOSGiEnvironment
public boolean isOSGiEnvironment()
- Indicates if OpenNLP is running in an OSGi environment or not.
- Returns:
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.