Class SelectorUnsupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
org.incendo.cloud.bukkit.parser.selector.SelectorUnsupportedException
- All Implemented Interfaces:
Serializable
@API(status=STABLE,
since="2.0.0")
public final class SelectorUnsupportedException
extends ParserException
Selector parsers may fail with this exception when they are not able to work
in the current environment. This is usually because the server is older than
Minecraft 1.13.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSelectorUnsupportedException(@NonNull CommandContext<?> context, @NonNull Class<?> parser) Create a newSelectorUnsupportedException. -
Method Summary
Methods 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
-
SelectorUnsupportedException
Create a newSelectorUnsupportedException.- Parameters:
context- command contextparser- parser type
-