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:
java.io.Serializable
public class ArgumentParseException extends CommandParseException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArgumentParseException(@NonNull java.lang.Throwable throwable, @NonNull java.lang.Object commandSender, @NonNull java.util.List<@NonNull CommandArgument<?,?>> currentChain)
Create a new command parse exception
-
Method Summary
Modifier and Type Method Description @NonNull java.lang.Throwable
getCause()
Get the cause of the exception-
Methods inherited from class cloud.commandframework.exceptions.CommandParseException
getCommandSender, getCurrentChain
-
-
-
-
Constructor Detail
-
ArgumentParseException
public ArgumentParseException(@NonNull java.lang.Throwable throwable, @NonNull java.lang.Object commandSender, @NonNull java.util.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
-
-