Class ExtensionNotLoadedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExtensionNotLoadedException
    extends java.lang.RuntimeException
    Exception indicates that an OpenNLP extension could not be loaded.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isOSGiEnvironment()
      Indicates 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExtensionNotLoadedException

        public ExtensionNotLoadedException​(java.lang.String message)
      • ExtensionNotLoadedException

        public ExtensionNotLoadedException​(java.lang.Throwable t)
    • Method Detail

      • isOSGiEnvironment

        public boolean isOSGiEnvironment()
        Indicates if OpenNLP is running in an OSGi environment or not.
        Returns:
        true if running in an OSGi environment