Class CliException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.cli.CliException
- All Implemented Interfaces:
Serializable,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
CliException.CliArgsException
public abstract class CliException
extends org.refcodes.exception.AbstractException
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 org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.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 org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.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:
-