Package dev.jorel.commandapi.exceptions
Class GreedyArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.jorel.commandapi.exceptions.GreedyArgumentException
- All Implemented Interfaces:
Serializable
An exception caused when a greedy argument is not declared at the end of a
List
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGreedyArgumentException(AbstractArgument<?, ?, ?, ?>[] arguments) Creates a GreedyArgumentException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GreedyArgumentException
Creates a GreedyArgumentException- Parameters:
arguments- the list of arguments that have been used for this command (including the greedy string argument)
-