Package ghidra.app.util
Class OptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.util.OptionException
- All Implemented Interfaces:
Serializable
Exception thrown if there was a problem accessing an Option, or if
an informational message is to be conveyed.
- See Also:
-
Constructor Summary
ConstructorDescriptionOptionException
(String msg) Construct a new OptionException.OptionException
(String msg, boolean isInfo) Construct a new OptionException that may be an informational message if isValid is true. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether the message associated with this exception is informational.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OptionException
Construct a new OptionException.- Parameters:
msg
- reason for the exception
-
OptionException
Construct a new OptionException that may be an informational message if isValid is true.- Parameters:
msg
- message to displayisInfo
- true if the msg is in informational message
-
-
Method Details
-
isInfoMessage
public boolean isInfoMessage()Return whether the message associated with this exception is informational.
-