|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.w3c.dom.events.EventException
Event operations may throw an EventException
as specified in
their method descriptions.
See also the Document Object Model (DOM) Level 2 Events Specification.
Field Summary | |
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 's type was not specified by initializing the
event before the method was called. |
Constructor Summary | |
EventException(short code,
String message)
Create an EventException with the specified error code and message. |
Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public short code
public static final short UNSPECIFIED_EVENT_TYPE_ERR
Event
's type was not specified by initializing the
event before the method was called. Specification of the Event's 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.
Constructor Detail |
public EventException(short code, String message)
code
- the numeric exception codemessage
- a string containing any clarifications
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |