Package org.bukkit.plugin
Class IllegalPluginAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bukkit.plugin.IllegalPluginAccessException
- All Implemented Interfaces:
Serializable
public class IllegalPluginAccessException extends RuntimeException
Thrown when a plugin attempts to interact with the server when it is not
enabled
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IllegalPluginAccessException()
Creates a new instance ofIllegalPluginAccessException
without detail message.IllegalPluginAccessException(String msg)
Constructs an instance ofIllegalPluginAccessException
with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalPluginAccessException
public IllegalPluginAccessException()Creates a new instance ofIllegalPluginAccessException
without detail message. -
IllegalPluginAccessException
Constructs an instance ofIllegalPluginAccessException
with the specified detail message.- Parameters:
msg
- the detail message.
-