public class EventHandlingException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
critical
Whether the exception is critical and therefore event handling should be
aborted.
|
| Constructor and Description |
|---|
EventHandlingException(java.lang.String message)
Creates a new non-critical
EventHandlingException having the
designated message. |
EventHandlingException(java.lang.String message,
boolean critical)
Creates a new
EventHandlingException having the designated
message. |
EventHandlingException(java.lang.String message,
java.lang.Throwable cause)
Creates a new non-critical
EventHandlingException having the
designated message and the designated cause. |
EventHandlingException(java.lang.String message,
java.lang.Throwable cause,
boolean critical)
Creates a new
EventHandlingException having the designated
message and the designated cause. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCritical()
Gets whether the exception is critical and therefore event handling should
be aborted.
|
protected boolean critical
public EventHandlingException(java.lang.String message)
EventHandlingException having the
designated message.message - The message describing the cause of the
EventHandlingException.public EventHandlingException(java.lang.String message,
boolean critical)
EventHandlingException having the designated
message.message - The message describing the cause of the
EventHandlingException.critical - Whether the exception is critical and therefore event
handling should be aborted. public EventHandlingException(java.lang.String message,
java.lang.Throwable cause)
EventHandlingException having the
designated message and the designated cause.message - The message describing the cause of the
EventHandlingException.cause - The exception causing the EventHandlingException.public EventHandlingException(java.lang.String message,
java.lang.Throwable cause,
boolean critical)
EventHandlingException having the designated
message and the designated cause.message - The message describing the cause of the
EventHandlingException.cause - The exception causing the EventHandlingException.critical - Whether the exception is critical and therefore event
handling should be aborted.