com.quartercode.quarterbukkit.api.exception
Class ExceptionHandler

java.lang.Object
  extended by com.quartercode.quarterbukkit.api.exception.ExceptionHandler

public class ExceptionHandler
extends java.lang.Object

The main class for handling event-exceptions.


Method Summary
static boolean exception(GameException exception)
          Handles a GameException and returns if the process should continue (if the exception is an instance of Cancellable, else true).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

exception

public static boolean exception(GameException exception)
Handles a GameException and returns if the process should continue (if the exception is an instance of Cancellable, else true).

Parameters:
exception - The GameException to handle.
Returns:
If the process should continue (if the exception is an instance of Cancellable, else true).