CommandAPI 9.3.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.exceptions.GreedyArgumentException Class Reference

An exception caused when a greedy argument is not declared at the end of a List. More...

+ Inheritance diagram for dev.jorel.commandapi.exceptions.GreedyArgumentException:

Public Member Functions

 GreedyArgumentException (AbstractArgument<?, ?, ?, ?>[] arguments)
 Creates a GreedyArgumentException. More...
 

Detailed Description

An exception caused when a greedy argument is not declared at the end of a List.

Constructor & Destructor Documentation

◆ GreedyArgumentException()

dev.jorel.commandapi.exceptions.GreedyArgumentException.GreedyArgumentException ( AbstractArgument<?, ?, ?, ?>[]  arguments)

Creates a GreedyArgumentException.

Parameters
argumentsthe list of arguments that have been used for this command (including the greedy string argument)