Package org.incendo.cloud.exception
Class ArgumentParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.CommandParseException
org.incendo.cloud.exception.ArgumentParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentParseException(@NonNull Throwable throwable, @NonNull Object commandSender, @NonNull List<@NonNull CommandComponent<?>> currentChain) Create a new command parse exception -
Method Summary
Methods inherited from class org.incendo.cloud.exception.CommandParseException
commandSender, currentChainMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArgumentParseException
@API(status=INTERNAL, consumers="org.incendo.cloud.*") public ArgumentParseException(@NonNull Throwable throwable, @NonNull Object commandSender, @NonNull List<@NonNull CommandComponent<?>> currentChain) Create a new command parse exception- Parameters:
throwable- Exception that caused the parsing errorcommandSender- Command sendercurrentChain- Chain leading up to the exception
-
-
Method Details