java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.github.simonplays15.betterbansystem.api.exceptions.CommandException
All Implemented Interfaces:
Serializable

public class CommandException extends RuntimeException
Exception that is thrown when a command encounters an error or exception.
See Also:
  • Constructor Details

    • CommandException

      public CommandException()
      Exception that is thrown when a command encounters an error or exception.
    • CommandException

      public CommandException (String message)
      Exception that is thrown when a command encounters an error or exception.
    • CommandException

      public CommandException (String msg, Throwable throwable)
      Constructs a new CommandException with the specified detail message and cause.
      Parameters:
      msg - the detail message (which is saved for later retrieval by the getMessage() method).
      throwable - the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown