java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.mmm.base.exception.ApplicationException
io.github.mmm.cli.exception.CliException
- All Implemented Interfaces:
io.github.mmm.base.i18n.Localizable,io.github.mmm.base.i18n.LocalizableObject,Serializable
- Direct Known Subclasses:
CliArgumentMandatoryException,CliDuplicateOptionAliasException,CliDuplicateOptionsException,CliInvalidUsageException,CliNoArgumentsException
public abstract class CliException
extends io.github.mmm.base.exception.ApplicationException
Abstract base class for a
RuntimeException thrown for invalid CliArguments.- See Also:
-
Field Summary
Fields inherited from interface io.github.mmm.base.i18n.Localizable
BUNDLE_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCliException(io.github.mmm.base.i18n.Localizable message) The constructor.CliException(io.github.mmm.base.i18n.Localizable message, Throwable cause) The constructor.CliException(String message) The constructor.CliException(String message, Throwable cause) The constructor. -
Method Summary
Methods inherited from class io.github.mmm.base.exception.ApplicationException
createUuid, getCode, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getNlsMessage, getUuid, isForUser, isTechnical, printStackTrace, toString, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.base.i18n.Localizable
getArgument, getLocalizedMessage, toLocalizable
-
Constructor Details
-
CliException
The constructor.- Parameters:
message- themessage.cause- thecause.
-
CliException
The constructor.- Parameters:
message- themessage.
-
CliException
public CliException(io.github.mmm.base.i18n.Localizable message) The constructor.- Parameters:
message- themessage.
-
CliException
The constructor.- Parameters:
message- themessage.cause- thecause.
-