Class ArgumentParseException

All Implemented Interfaces:
Serializable

@API(status=STABLE) public class ArgumentParseException extends CommandParseException
See Also:
  • Constructor Details

    • ArgumentParseException

      @API(status=INTERNAL, consumers="cloud.commandframework.*") 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 error
      commandSender - Command sender
      currentChain - Chain leading up to the exception
  • Method Details

    • getCause

      public @NonNull Throwable getCause()
      Get the cause of the exception
      Overrides:
      getCause in class Throwable
      Returns:
      Cause