Class ArgumentParseException

All Implemented Interfaces:
Serializable

public class ArgumentParseException extends CommandParseException
See Also:
Serialized Form
  • 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 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