throw new DomEx(DomEx.NOT_SUPPORTED_ERR,
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR,
  public Event createEvent(String eventType)  {    eventType = eventType.toLowerCase();        if ("mutationevents".equals(eventType))      {        return new DomEvent.DomMutationEvent(null);      }        if ("htmlevents".equals(eventType)        || "events".equals(eventType)        || "user-events".equals(eventType))      {        return new DomEvent(null);      }        if ("uievents".equals(eventType))      {        return new DomEvent.DomUIEvent(null);      }    // mouse events         throw new DomEx(DomEx.NOT_SUPPORTED_ERR,                    eventType, null, 0);  }