public class EventException extends 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 | UNSPECIFIED_EVENT_TYPE_ERRIf the  Event's 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, toStringpublic 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 EventException(short code,
                      String message)
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.