public class

EventException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.w3c.dom.events.EventException

Class Overview

Event operations may throw an EventException as specified in their method descriptions.

See also the Document Object Model (DOM) Level 2 Events Specification.

Summary

Constants
short UNSPECIFIED_EVENT_TYPE_ERR If the Event's type was not specified by initializing the event before the method was called.
Fields
public short code
Public Constructors
EventException(short code, String message)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final short UNSPECIFIED_EVENT_TYPE_ERR

If the 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.

Constant Value: 0 (0x00000000)

Fields

public short code

Public Constructors

public EventException (short code, String message)