|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.quartercode.quarterbukkit.api.exception.ExceptionManager
public class ExceptionManager
Method Summary | |
---|---|
static void |
exception(GameException exception)
Handles an GameException in the correct ExceptionHandler . |
static ExceptionHandler |
getExceptionHandler(org.bukkit.plugin.Plugin plugin)
Returns the registered ExceptionHandler for a Plugin . |
static java.util.List<ExceptionHandler> |
getExceptionHandlers()
Returns all registered ExceptionHandler s. |
static void |
removeExceptionHandler(org.bukkit.plugin.Plugin plugin)
Unregisters the ExceptionHandler of a binding Plugin . |
static void |
setExceptionHandler(ExceptionHandler exceptionHandler)
Registers the ExceptionHandler for a binding Plugin . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<ExceptionHandler> getExceptionHandlers()
ExceptionHandler
s.
ExceptionHandler
s.public static ExceptionHandler getExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionHandler
for a Plugin
.
plugin
- The binding Plugin
.
ExceptionHandler
.public static void setExceptionHandler(ExceptionHandler exceptionHandler)
ExceptionHandler
for a binding Plugin
.
exceptionHandler
- The ExceptionHandler
to register.public static void removeExceptionHandler(org.bukkit.plugin.Plugin plugin)
ExceptionHandler
of a binding Plugin
.
plugin
- The Plugin
to unregister.public static void exception(GameException exception)
GameException
in the correct ExceptionHandler
.
exception
- The GameException
to handle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |