Class IllegalCommandUsageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalCommandUsageException
    extends java.lang.Exception
    Used to throw an illegal command usage exception.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorMessage()  
      java.lang.String getHelpOption()  
      • 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

      • IllegalCommandUsageException

        public IllegalCommandUsageException()
        Default empty constructor.
      • IllegalCommandUsageException

        public IllegalCommandUsageException​(java.lang.String errMessage)
      • IllegalCommandUsageException

        public IllegalCommandUsageException​(java.lang.String errMessage,
                                            java.lang.String hOption)
    • Method Detail

      • getErrorMessage

        public java.lang.String getErrorMessage()
      • getHelpOption

        public java.lang.String getHelpOption()