public class PluginException extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
PluginProxy |
plugin
Plugin proxy, can be null
|
Constructor and Description |
---|
PluginException(PluginProxy plugin,
java.lang.String name,
java.lang.Throwable cause)
Constructs a new
PluginException with the specified plugin and cause. |
PluginException(java.lang.String message)
Constructs a new
PluginException with the specified detail message. |
PluginException(java.lang.String name,
java.lang.Throwable cause)
Constructs a new
PluginException with the specified plugin name, cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
public final transient PluginProxy plugin
public PluginException(PluginProxy plugin, java.lang.String name, java.lang.Throwable cause)
PluginException
with the specified plugin and cause.plugin
- plugin proxyname
- plugin namecause
- cause the cause (which is saved for later retrieval by the Throwable.getCause()
method).public PluginException(java.lang.String message)
PluginException
with the specified detail message.message
- message the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).public PluginException(java.lang.String name, java.lang.Throwable cause)
PluginException
with the specified plugin name, cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).name
- plugin namecause
- cause the cause (which is saved for later retrieval by the Throwable.getCause()
method).