|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
chemaxon.marvin.plugin.PluginException
public class PluginException
Exception thrown in case of plugin processing or calculation errors.
Other exceptions raised during plugin processing are wrapped into a
PluginException, so that the caller should catch only PluginException.
The wrapped exception can be accessed by the getException()
method.
Constructor Summary | |
---|---|
PluginException()
Default constructor. |
|
PluginException(java.lang.String msg)
Constructor with message. |
|
PluginException(java.lang.String msg,
int level)
Constructor with message. |
|
PluginException(java.lang.String msg,
java.lang.Throwable e)
Constructor with wrapped exception. |
|
PluginException(java.lang.Throwable e)
Constructor with wrapped exception. |
|
PluginException(java.lang.Throwable e,
int level)
Constructor with wrapped exception. |
Method Summary | |
---|---|
int |
getErrorLevel()
Returns the error level. |
java.lang.Throwable |
getException()
Returns the wrapped exception. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PluginException()
public PluginException(java.lang.String msg)
msg
- is the exception message.public PluginException(java.lang.Throwable e)
e
- is the wrapped exceptionpublic PluginException(java.lang.String msg, java.lang.Throwable e)
msg
- is the exception message.e
- is the wrapped exceptionpublic PluginException(java.lang.String msg, int level)
msg
- is the exception message.level
- is the error levelpublic PluginException(java.lang.Throwable e, int level)
e
- is the wrapped exceptionlevel
- is the error levelMethod Detail |
---|
public java.lang.Throwable getException()
public int getErrorLevel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |