|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bukkit.event.Event
com.quartercode.quarterbukkit.api.exception.GameException
com.quartercode.quarterbukkit.api.exception.InternalException
public class InternalException
The InternalException occurres if something goes wrong deep inside a plugin.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.bukkit.event.Event |
---|
org.bukkit.event.Event.Result |
Constructor Summary | |
---|---|
InternalException(org.bukkit.plugin.Plugin plugin,
java.lang.Throwable cause)
Creates an InternalException filled with the cause as a Throwable for the error. |
|
InternalException(org.bukkit.plugin.Plugin plugin,
java.lang.Throwable cause,
org.bukkit.command.CommandSender causer)
Creates a InternalException filled with the cause as a Throwable for the error and the CommandSender who may caused the error. |
|
InternalException(org.bukkit.plugin.Plugin plugin,
java.lang.Throwable cause,
org.bukkit.command.CommandSender causer,
java.lang.String message)
Creates a InternalException filled with the cause as a Throwable for the error and the CommandSender who may caused the error an an informational message. |
|
InternalException(org.bukkit.plugin.Plugin plugin,
java.lang.Throwable cause,
java.lang.String message)
Creates a InternalException filled with the cause as an Throwable for the error and an informational message. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Returns the cause for the error. |
org.bukkit.command.CommandSender |
getCauser()
Returns the CommandSender causer. |
Methods inherited from class com.quartercode.quarterbukkit.api.exception.GameException |
---|
getHandlerList, getHandlers, getMessage, getPlugin |
Methods inherited from class org.bukkit.event.Event |
---|
getEventName, isAsynchronous |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalException(org.bukkit.plugin.Plugin plugin, java.lang.Throwable cause)
Throwable
for the error.
plugin
- The causing Plugin
.cause
- The cause for the error.public InternalException(org.bukkit.plugin.Plugin plugin, java.lang.Throwable cause, org.bukkit.command.CommandSender causer)
Throwable
for the error and the CommandSender
who may caused the error.
plugin
- The causing Plugin
.cause
- The cause for the error.causer
- The CommandSender
who caused the error.public InternalException(org.bukkit.plugin.Plugin plugin, java.lang.Throwable cause, java.lang.String message)
Throwable
for the error and an informational message.
plugin
- The causing Plugin
.cause
- The cause for the error.message
- The informational message.public InternalException(org.bukkit.plugin.Plugin plugin, java.lang.Throwable cause, org.bukkit.command.CommandSender causer, java.lang.String message)
Throwable
for the error and the CommandSender
who may caused the error an an informational message.
plugin
- The causing Plugin
.cause
- The cause for the error.causer
- The CommandSender
who caused the error.message
- The informational message.Method Detail |
---|
public java.lang.Throwable getCause()
Throwable
.public org.bukkit.command.CommandSender getCauser()
CommandSender
causer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |