opennlp.tools.util.ext
Class ExtensionNotLoadedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
ExtensionNotLoadedException(String message)
           
ExtensionNotLoadedException(Throwable t)
           
 
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
 
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:


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.