Class SelectorParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- cloud.commandframework.exceptions.parsing.ParserException
-
- cloud.commandframework.bukkit.parsers.selector.SelectorParseException
-
- All Implemented Interfaces:
java.io.Serializable
public final class SelectorParseException extends cloud.commandframework.exceptions.parsing.ParserExceptionEntitySelector parse exception- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelectorParseException.FailureReasonReasons for which selector parsing may fail
-
Constructor Summary
Constructors Constructor Description SelectorParseException(@NonNull java.lang.String input, @NonNull cloud.commandframework.context.CommandContext<?> context, @NonNull SelectorParseException.FailureReason reason, @NonNull java.lang.Class<?> parser)Construct a new EntitySelector parse exception
-
Method Summary
Modifier and Type Method Description @NonNull java.lang.StringgetInput()Get the supplied input-
Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException
getArgumentParserClass, getContext, getMessage
-
-
-
-
Constructor Detail
-
SelectorParseException
public SelectorParseException(@NonNull java.lang.String input, @NonNull cloud.commandframework.context.CommandContext<?> context, @NonNull SelectorParseException.FailureReason reason, @NonNull java.lang.Class<?> parser)Construct a new EntitySelector parse exception- Parameters:
input- String inputcontext- Command contextreason- Reason for parse failureparser- The parser class
-
-