Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.EventException Class Reference
Inheritance diagram for org.bukkit.event.EventException:

Public Member Functions

 EventException (Throwable throwable)
 
 EventException ()
 
 EventException (Throwable cause, String message)
 
 EventException (String message)
 
Throwable getCause ()
 

Detailed Description

Definition at line 3 of file EventException.java.

Constructor & Destructor Documentation

org.bukkit.event.EventException.EventException ( Throwable  throwable)

Constructs a new EventException based on the given Exception

Parameters
throwableException that triggered this Exception

Definition at line 12 of file EventException.java.

12  {
13  cause = throwable;
14  }
org.bukkit.event.EventException.EventException ( )

Constructs a new EventException

Definition at line 19 of file EventException.java.

19  {
20  cause = null;
21  }
org.bukkit.event.EventException.EventException ( Throwable  cause,
String  message 
)

Constructs a new EventException with the given message

Parameters
causeThe exception that caused this
messageThe message

Definition at line 29 of file EventException.java.

29  {
30  super(message);
31  this.cause = cause;
32  }
org.bukkit.event.EventException.EventException ( String  message)

Constructs a new EventException with the given message

Parameters
messageThe message

Definition at line 39 of file EventException.java.

39  {
40  super(message);
41  cause = null;
42  }

Member Function Documentation

Throwable org.bukkit.event.EventException.getCause ( )

If applicable, returns the Exception that triggered this Exception

Returns
Inner exception, or null if one does not exist

Definition at line 50 of file EventException.java.

50  {
51  return cause;
52  }

The documentation for this class was generated from the following file: