Package ghidra.app.script
Class ImproperUseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ghidra.app.script.ImproperUseException
- All Implemented Interfaces:
Serializable
Exception class to be used when API calls are improperly used (i.e., GhidraScript.askProjectFolder() method is
being used in Headless mode).
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new improper use exception with the specified detail message.ImproperUseException
(Throwable cause) Constructs a new exception with the specified cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ImproperUseException
Constructs a new improper use exception with the specified detail message.- Parameters:
msg
- the detail message
-
ImproperUseException
Constructs a new exception with the specified cause- Parameters:
cause
- the cause of the exception
-