Package org.refcodes.console
Class ParseArgsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.console.ConsoleException
-
- org.refcodes.console.ConsoleException.ConsoleArgsException
-
- org.refcodes.console.ArgsMismatchException
-
- org.refcodes.console.ParseArgsException
-
- All Implemented Interfaces:
java.io.Serializable
,ArgsAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
public class ParseArgsException extends ArgsMismatchException
Thrown in case the provided command line arguments do not respect the required syntax or cannot be converted to the required type.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.console.ArgsAccessor
ArgsAccessor.ArgsMutator, ArgsAccessor.ArgsProperty
-
Nested classes/interfaces inherited from class org.refcodes.console.ConsoleException
ConsoleException.ConsoleArgsException, ConsoleException.ConsoleCliException
-
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
Constructors Constructor Description ParseArgsException(java.lang.String[] aArgs, java.lang.String message)
Instantiates a new parses the args exception.ParseArgsException(java.lang.String[] aArgs, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new parses the args exception.ParseArgsException(java.lang.String[] aArgs, java.lang.String message, java.lang.Throwable cause)
Instantiates a new parses the args exception.ParseArgsException(java.lang.String[] aArgs, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new parses the args exception.ParseArgsException(java.lang.String[] aArgs, java.lang.Throwable cause)
Instantiates a new parses the args exception.ParseArgsException(java.lang.String[] aArgs, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new parses the args exception.
-
Method Summary
-
Methods inherited from class org.refcodes.console.ConsoleException.ConsoleArgsException
getArgs
-
-
-
-
Constructor Detail
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argsaMessage
- the messageaErrorCode
- the error code
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argsaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.String message, java.lang.Throwable cause)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argsmessage
- the messagecause
- the cause
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.String message)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argsmessage
- the message
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argsaCause
- the causeaErrorCode
- the error code
-
ParseArgsException
public ParseArgsException(java.lang.String[] aArgs, java.lang.Throwable cause)
Instantiates a new parses the args exception.- Parameters:
aArgs
- the argscause
- the cause
-
-