Class CliException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.cli.CliException
- All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap
- Direct Known Subclasses:
CliException.CliArgsException
Base exception for the CLI artifact.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis abstract exception is the base exception for all command line argument related exceptions.Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
ConstructorsConstructorDescriptionCliException(String aMessage) Instantiates the classCliException.CliException(String aMessage, String aErrorCode) Instantiates the classCliException.CliException(String aMessage, Throwable aCause) Instantiates the classCliException.CliException(String aMessage, Throwable aCause, String aErrorCode) Instantiates the classCliException.CliException(Throwable aCause) Instantiates the classCliException.CliException(Throwable aCause, String aErrorCode) Instantiates the classCliException. -
Method Summary
Methods inherited from class AbstractException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
CliException
-
CliException
Instantiates the classCliException.- See Also:
-
CliException
Instantiates the classCliException.- See Also:
-
CliException
Instantiates the classCliException.- See Also:
-
CliException
-
CliException
Instantiates the classCliException.- See Also:
-