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:
Serializable
Exception thrown if plugin was not found.
- See Also:
-
Constructor Summary
ConstructorDescriptionPluginException
(String message) Construct a PluginException with the given message.PluginException
(String className, String details) Construct PluginException with a detail message.PluginException
(String message, Throwable cause) Construct a PluginException with the given message and cause. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new PluginException by appending the message from this exception to the message of the given exception if it is not null.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PluginException
Construct PluginException with a detail message.- Parameters:
className
- class name of the plugindetails
- the reason the addPlugin failed.
-
PluginException
Construct a PluginException with the given message.- Parameters:
message
- message that is returned in the getMessage() method
-
PluginException
Construct a PluginException with the given message and cause.- Parameters:
message
- the exception messagecause
- the exception cause
-
-
Method Details
-
getPluginException
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
-