Class InvalidNumberException

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.jorel.commandapi.exceptions.InvalidNumberException
All Implemented Interfaces:
Serializable

public class InvalidNumberException extends Exception
An exception caused when a number is not a number
See Also:
  • Constructor Details

    • InvalidNumberException

      public InvalidNumberException(String input, String command, int index)
      An exception caused when a number is not a number
      Parameters:
      input - the full command input
      command - the name of the command
      index - the index where the number was invalid