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:
java.io.Serializable
public class ImproperUseException extends java.lang.RuntimeException
Exception class to be used when API calls are improperly used (i.e., GhidraScript.askProjectFolder() method is being used in Headless mode).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImproperUseException(java.lang.String msg)
Constructs a new improper use exception with the specified detail message.ImproperUseException(java.lang.Throwable cause)
Constructs a new exception with the specified cause
-
-
-
Constructor Detail
-
ImproperUseException
public ImproperUseException(java.lang.String msg)
Constructs a new improper use exception with the specified detail message.- Parameters:
msg
- the detail message
-
ImproperUseException
public ImproperUseException(java.lang.Throwable cause)
Constructs a new exception with the specified cause- Parameters:
cause
- the cause of the exception
-
-