Class CommandException

    • Constructor Summary

      Constructors 
      Constructor Description
      CommandException​(java.lang.String message)
      Creates a new instance of this class with the specified detail message.
      CommandException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new instance of this class with the specified detail message and cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Returns the cause of this throwable or null if the cause is nonexistent or unknown.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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

      • CommandException

        public CommandException​(java.lang.String message)
        Creates a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message; may be null.
      • CommandException

        public CommandException​(java.lang.String message,
                                java.lang.Throwable cause)
        Creates a new instance of this class with the specified detail message and cause.
        Parameters:
        message - the detail message; may be null.
        cause - the cause; may be null.
    • Method Detail

      • getCause

        public java.lang.Throwable getCause()
        Returns the cause of this throwable or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        the cause or null