|
|||||||||
| 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.Exception e)
Constructor with wrapped exception. |
|
PluginException(java.lang.Exception e,
int level)
Constructor with wrapped exception. |
|
PluginException(java.lang.String msg)
Constructor with message. |
|
PluginException(java.lang.String msg,
java.lang.Exception e)
Constructor with wrapped exception. |
|
PluginException(java.lang.String msg,
int level)
Constructor with message. |
|
| Method Summary | |
|---|---|
int |
getErrorLevel()
Returns the error level. |
java.lang.Exception |
getException()
Returns the wrapped exception. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace together with the stack trace of the wrapped exception. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace together with the stack trace of the wrapped exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, 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.Exception e)
e - is the wrapped exception
public PluginException(java.lang.String msg,
java.lang.Exception e)
msg - is the exception message.e - is the wrapped exception
public PluginException(java.lang.String msg,
int level)
msg - is the exception message.level - is the error level
public PluginException(java.lang.Exception e,
int level)
e - is the wrapped exceptionlevel - is the error level| Method Detail |
|---|
public java.lang.Exception getException()
public int getErrorLevel()
public void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - is the PrintStream to write topublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - is the PrintWriter to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||