Package dev.jorel.commandapi.exceptions
Class InvalidNumberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.jorel.commandapi.exceptions.InvalidNumberException
- All Implemented Interfaces:
Serializable
An exception caused when a number is not a number
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidNumberException(String input, String command, int index) An exception caused when a number is not a number -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidNumberException
An exception caused when a number is not a number- Parameters:
input- the full command inputcommand- the name of the commandindex- the index where the number was invalid
-