A special thanks goes to @aerouk for almost all of the changes found here. By: Wesley Wolfe <weswolf@aol.com>
26 lines
649 B
Java
26 lines
649 B
Java
package org.bukkit.plugin;
|
|
|
|
/**
|
|
* Thrown when a plugin attempts to interact with the server when it is not
|
|
* enabled
|
|
*/
|
|
@SuppressWarnings("serial")
|
|
public class IllegalPluginAccessException extends RuntimeException {
|
|
|
|
/**
|
|
* Creates a new instance of <code>IllegalPluginAccessException</code>
|
|
* without detail message.
|
|
*/
|
|
public IllegalPluginAccessException() {}
|
|
|
|
/**
|
|
* Constructs an instance of <code>IllegalPluginAccessException</code>
|
|
* with the specified detail message.
|
|
*
|
|
* @param msg the detail message.
|
|
*/
|
|
public IllegalPluginAccessException(String msg) {
|
|
super(msg);
|
|
}
|
|
}
|