Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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