Class CommandException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.sympho.modular_commands.api.exception.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IncompleteHandlingException, InvalidArgumentException, InvalidChainException, ResultException

public class CommandException extends RuntimeException
Base type for exceptions related to the command system.
Since:
1.0
Version:
1.0
See Also:
  • Constructor Details

    • CommandException

      public CommandException()
      Constructs a new exception.
      See Also:
    • CommandException

      public CommandException(String message)
      Constructs a new exception.
      Parameters:
      message - The detail message.
      See Also:
    • CommandException

      public CommandException(String message, Throwable cause)
      Constructs a new exception.
      Parameters:
      message - The detail message.
      cause - The cause.
      See Also:
    • CommandException

      public CommandException(Throwable cause)
      Constructs a new exception.
      Parameters:
      cause - The cause.
      See Also:
    • CommandException

      protected CommandException(String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a new exception.
      Parameters:
      message - The detail message.
      cause - The cause. May be null.
      enableSuppression - Whether or not suppression is enabled or disabled.
      writableStackTrace - Whether or not the stack trace should be writable
      See Also: