- 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:
Localizable
,LocalizableObject
,Serializable
- Direct Known Subclasses:
CliArgumentMandatoryException
,CliDuplicateOptionAliasException
,CliDuplicateOptionsException
,CliInvalidUsageException
,CliNoArgumentsException
,CliTypeNotExtendingException
public abstract class CliException extends ApplicationException
Abstract base class for aRuntimeException
thrown for invalidCliArgument
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CliException(Localizable message)
The constructor.CliException(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, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.base.i18n.Localizable
getArgument, getLocalizedMessage, toLocalizable
-
-
-
-
Constructor Detail
-
CliException
public CliException(String message)
The constructor.- Parameters:
message
- themessage
.
-
CliException
public CliException(Localizable message)
The constructor.- Parameters:
message
- themessage
.
-
CliException
public CliException(Localizable message, Throwable cause)
The constructor.
-
-