Class GreedyArgumentException

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

public class GreedyArgumentException extends RuntimeException
An exception caused when a greedy argument is not declared at the end of a List
See Also:
  • Constructor Details

    • GreedyArgumentException

      public GreedyArgumentException(AbstractArgument<?,?,?,?>[] arguments)
      Creates a GreedyArgumentException
      Parameters:
      arguments - the list of arguments that have been used for this command (including the greedy string argument)