Package ghidra.framework.plugintool.util
Class PluginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ghidra.util.exception.UsrException
-
- ghidra.framework.plugintool.util.PluginException
-
- All Implemented Interfaces:
java.io.Serializable
public class PluginException extends UsrException
Exception thrown if plugin was not found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginException(java.lang.String message)
Construct a PluginException with the given message.PluginException(java.lang.String className, java.lang.String details)
Construct PluginException with a detail message.PluginException(java.lang.String message, java.lang.Throwable cause)
Construct a PluginException with the given message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginException
getPluginException(PluginException e)
Creates a new PluginException by appending the message from this exception to the message of the given exception if it is not null.
-
-
-
Constructor Detail
-
PluginException
public PluginException(java.lang.String className, java.lang.String details)
Construct PluginException with a detail message.- Parameters:
className
- class name of the plugindetails
- the reason the addPlugin failed.
-
PluginException
public PluginException(java.lang.String message)
Construct a PluginException with the given message.- Parameters:
message
- message that is returned in the getMessage() method
-
PluginException
public PluginException(java.lang.String message, java.lang.Throwable cause)
Construct a PluginException with the given message and cause.- Parameters:
message
- the exception messagecause
- the exception cause
-
-
Method Detail
-
getPluginException
public PluginException getPluginException(PluginException e)
Creates a new PluginException by appending the message from this exception to the message of the given exception if it is not null. If e is null, returns this exception.- Parameters:
e
- exception whose message will be appended to this exceptions message if e is not null- Returns:
- this exception if e is null, or a new exception
-
-