public class EventException extends RuntimeException
EventException
as specified in
their method descriptions.
See also the Document Object Model (DOM) Level 3 Events Specification .
Modifier and Type | Field and Description |
---|---|
short |
code |
static short |
DISPATCH_REQUEST_ERR
If the
Event object is already dispatched in the tree. |
static short |
UNSPECIFIED_EVENT_TYPE_ERR
If the
Event.type was not specified by initializing the
event before the method was called. |
Constructor and Description |
---|
EventException(short code,
String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public short code
public static final short UNSPECIFIED_EVENT_TYPE_ERR
Event.type
was not specified by initializing the
event before the method was called. Specification of the
Event.type
as null
or an empty string will
also trigger this exception.public static final short DISPATCH_REQUEST_ERR
Event
object is already dispatched in the tree.public EventException(short code, String message)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.