Class ArgumentParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cloud.commandframework.exceptions.CommandParseException
cloud.commandframework.exceptions.ArgumentParseException
- All Implemented Interfaces:
Serializable
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentParseException(@NonNull Throwable throwable, @NonNull Object commandSender, @NonNull List<@NonNull CommandArgument<?,?>> currentChain)
Create a new command parse exception -
Method Summary
Methods inherited from class cloud.commandframework.exceptions.CommandParseException
getCommandSender, getCurrentChain
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArgumentParseException
public ArgumentParseException(@NonNull Throwable throwable, @NonNull Object commandSender, @NonNull List<@NonNull CommandArgument<?,?>> 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