Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package org.bukkit.plugin;
2
3/**
4 * Thrown when a plugin attempts to interact with the server when it is not enabled
5 */
6public class IllegalPluginAccessException extends RuntimeException {
7
8 /**
9 * Creates a new instance of <code>IllegalPluginAccessException</code> without detail message.
10 */
11 public IllegalPluginAccessException() {
12 }
13
14 /**
15 * Constructs an instance of <code>IllegalPluginAccessException</code> with the specified detail message.
16 *
17 * @param msg the detail message.
18 */
19 public IllegalPluginAccessException(String msg) {
20 super(msg);
21 }
22}