public class EventException
extends java.lang.RuntimeException
EventException
as specified in
their method descriptions.
See also the Document Object Model (DOM) Level 2 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 's type was not specified by initializing the
event before the method was called. |
Constructor and Description |
---|
EventException(short code,
java.lang.String message)
Create an EventException with the specified error code and message.
|
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.Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.