Class ImproperUseException

All Implemented Interfaces:
Serializable

public class ImproperUseException extends 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:
  • Constructor Details

    • ImproperUseException

      public ImproperUseException(String msg)
      Constructs a new improper use exception with the specified detail message.
      Parameters:
      msg - the detail message
    • ImproperUseException

      public ImproperUseException(Throwable cause)
      Constructs a new exception with the specified cause
      Parameters:
      cause - the cause of the exception