Class AmbiguousArgsException

All Implemented Interfaces:
Serializable, ArgsAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap

public class AmbiguousArgsException
extends ArgsMismatchException
Thrown in case at least one command line argument is ambiguous regarding expected args vs. provided args.
See Also:
Serialized Form
  • Constructor Details

    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, String aMessage, String aErrorCode)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      aMessage - the message
      aErrorCode - the error code
    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, String message, Throwable cause)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      message - the message
      cause - the cause
    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, String message)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      message - the message
    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, Throwable aCause, String aErrorCode)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      aCause - the cause
      aErrorCode - the error code
    • AmbiguousArgsException

      public AmbiguousArgsException​(String[] aArgs, Throwable cause)
      Instantiates a new ambiguous args exception.
      Parameters:
      aArgs - the args
      cause - the cause