Files
DeltaZern/paper-api/src/main/java/org/bukkit/command/CommandException.java
T
Bukkit/Spigot 855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00

25 lines
626 B
Java

package org.bukkit.command;
/**
* Thrown when an unhandled exception occurs during the execution of a Command
*/
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);
}
}