Class EventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bukkit.event.EventException
- All Implemented Interfaces:
Serializable
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new EventExceptionEventException(String message) Constructs a new EventException with the given messageEventException(Throwable throwable) Constructs a new EventException based on the given ExceptionEventException(Throwable cause, String message) Constructs a new EventException with the given message -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventException
Constructs a new EventException based on the given Exception- Parameters:
throwable- Exception that triggered this Exception- Since:
- 1.0.0
-
EventException
public EventException()Constructs a new EventException- Since:
- 1.0.0
-
EventException
-
EventException
Constructs a new EventException with the given message- Parameters:
message- The message- Since:
- 1.0.0
-
-
Method Details
-
getCause
-