Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / command / CommandException.java
@vlad20012 vlad20012 on 24 Feb 2017 622 bytes initial
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 <code>CommandException</code> without detail
	 * message.
	 */
	public CommandException()
	{
	}

	/**
	 * Constructs an instance of <code>CommandException</code> 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);
	}
}