Class PlayerParseException.TooManyPlayers
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
com.xpdustry.distributor.command.cloud.parser.PlayerParseException
com.xpdustry.distributor.command.cloud.parser.PlayerParseException.TooManyPlayers
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PlayerParseException
An exception thrown when too many players are found for the given input.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.xpdustry.distributor.command.cloud.parser.PlayerParseException
PlayerParseException.PlayerNotFound, PlayerParseException.TooManyPlayers -
Constructor Summary
ConstructorsConstructorDescriptionTooManyPlayers(Class<?> parser, String input, org.incendo.cloud.context.CommandContext<?> ctx) Creates a newPlayerParseException.TooManyPlayers. -
Method Summary
Methods inherited from class com.xpdustry.distributor.command.cloud.parser.PlayerParseException
getInputMethods inherited from class org.incendo.cloud.exception.parsing.ParserException
argumentParserClass, captionVariables, context, errorCaption, formatCaption, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyPlayers
public TooManyPlayers(Class<?> parser, String input, org.incendo.cloud.context.CommandContext<?> ctx) Creates a newPlayerParseException.TooManyPlayers.- Parameters:
input- the input stringctx- the command context
-