All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.command.CommandException Maven / Gradle / Ivy

package org.bukkit.command;

/**
 * Thrown when an unhandled exception occurs during the execution of a Command
 */
@SuppressWarnings("serial")
public class CommandException extends RuntimeException {

  /**
   * Creates a new instance of CommandException without detail
   * message.
   */
  public CommandException() {
  }

  /**
   * Constructs an instance of CommandException with the
   * specified detail message.
   *
   * @param msg the detail message.
   */
  public CommandException(String msg) {
    super(msg);
  }

  public CommandException(String msg, Throwable cause) {
    super(msg, cause);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy