Class InvalidArgumentException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidListException

public class InvalidArgumentException extends CommandException
Exception thrown when an argument cannot be parsed due to being invalid.
Since:
1.0
Version:
1.0
See Also:
  • Constructor Details

    • InvalidArgumentException

      public InvalidArgumentException(String message)
      Constructs a new exception.
      Parameters:
      message - A message detailing why the argument is invalid.
    • InvalidArgumentException

      public InvalidArgumentException(String message, Throwable cause)
      Constructs a new exception.
      Parameters:
      message - A message detailing why the argument is invalid.
      cause - The exception that caused the value to be invalid.
  • Method Details