<?xml version='1.0' encoding='UTF-8'?>
<!-- EventException interface -->

<exception id="Events-EventException" name="EventException" since="DOM Level 2">
  <descr>
    <p>
      Event operations may throw an <code>EventException</code> as specified in
      their method descriptions.
    </p>
  </descr>
  
  <component id="Events-EventException-code" name="code">
    <typename>unsigned short</typename>
  </component>
  
</exception>

<group id="Events-EventException-EventExceptionCode" name="EventExceptionCode" since="DOM Level 2">
  <descr>
    <p>
      An integer indicating the type of error generated.
    </p>
  </descr>
  <constant name="UNSPECIFIED_EVENT_TYPE_ERR" type="unsigned short" value="0">
    <descr>
      <p>
	If the <code>Event</code>'s type was not specified by initializing the
	event before the method was called. Specification of the Event's type
	as <code>null</code> or an empty string will also trigger this
	exception.
      </p>
    </descr>
  </constant>
</group>
