Class ParseArgsException

  • All Implemented Interfaces:
    ArgsAccessor


    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
    • 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.exception.AbstractException

        getErrorCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • 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 args
        aMessage - the message
        aErrorCode - 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 args
        aMessage - the message
        aCause - the cause
        aErrorCode - 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 args
        message - the message
        cause - the cause
      • ParseArgsException

        public ParseArgsException​(java.lang.String[] aArgs,
                                  java.lang.String message)
        Instantiates a new parses the args exception.
        Parameters:
        aArgs - the args
        message - 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 args
        aCause - the cause
        aErrorCode - the error code
      • ParseArgsException

        public ParseArgsException​(java.lang.String[] aArgs,
                                  java.lang.Throwable cause)
        Instantiates a new parses the args exception.
        Parameters:
        aArgs - the args
        cause - the cause