@PublicAPI public class PluginException extends java.lang.Exception
getException()
method.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorLevel()
Returns the error level.
|
java.lang.Throwable |
getException()
Returns the wrapped exception.
|
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 level