Package ghidra.app.util
Class OptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ghidra.app.util.OptionException
-
- All Implemented Interfaces:
java.io.Serializable
public class OptionException extends java.lang.Exception
Exception thrown if there was a problem accessing an Option, or if an informational message is to be conveyed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptionException(java.lang.String msg)
Construct a new OptionException.OptionException(java.lang.String msg, boolean isInfo)
Construct a new OptionException that may be an informational message if isValid is true.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInfoMessage()
Return whether the message associated with this exception is informational.
-
-
-
Constructor Detail
-
OptionException
public OptionException(java.lang.String msg)
Construct a new OptionException.- Parameters:
msg
- reason for the exception
-
OptionException
public OptionException(java.lang.String msg, boolean isInfo)
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
-
-