- All Implemented Interfaces:
public class EventException extends RuntimeException
Event operations may throw an
EventExceptionas specified in their method descriptions.
See also the Document Object Model (DOM) Level 2 Events Specification.
- 1.5, DOM Level 2
- See Also:
- Serialized Form
Fields Modifier and Type Field Description
static shortIf the
Event's type was not specified by initializing the event before the method was called.
Constructors Constructor Description
String message)(short code,
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
codepublic short code
UNSPECIFIED_EVENT_TYPE_ERRpublic static final short UNSPECIFIED_EVENT_TYPE_ERRIf the
Event's type was not specified by initializing the event before the method was called. Specification of the Event's type as
nullor an empty string will also trigger this exception.
- See Also:
- Constant Field Values
EventExceptionpublic EventException(short code, String message)