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`

      public class ExtensionNotLoadedException
      extends RuntimeException

  Exception indicates that an OpenNLP extension could not be loaded.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExtensionNotLoadedException​(String message)` |
    `ExtensionNotLoadedException​(Throwable t)` |

  - ### 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​(String message)

    - #### ExtensionNotLoadedException

          public ExtensionNotLoadedException​(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