throw new DomEx(DomEx.NOT_SUPPORTED_ERR);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR);
  public void setParameter(String name, Object value)    throws DOMException  {    name = name.toLowerCase();    if ("cdata-sections".equals(name))      {        coalescing = !((Boolean) value).booleanValue();      }    else if ("comments".equals(name))      {        ignoreComments = !((Boolean) value).booleanValue();      }    else if ("element-content-whitespace".equals(name))      {        ignoreWhitespace = !((Boolean) value).booleanValue();      }    else if ("namespaces".equals(name))      {        namespaceAware = ((Boolean) value).booleanValue();      }    else if ("expand-entity-references".equals(name))      {        expandEntityReferences = ((Boolean) value).booleanValue();      }    else if ("coalescing".equals(name))      {        coalescing = ((Boolean) value).booleanValue();      }    else if ("validating".equals(name))      {        validating = ((Boolean) value).booleanValue();      }    else if ("xinclude-aware".equals(name))      {        xIncludeAware = ((Boolean) value).booleanValue();      }    else if ("entity-resolver".equals(name))      {        entityResolver = (EntityResolver) value;      }    else if ("error-handler".equals(name))      {        errorHandler = (ErrorHandler) value;      }    else      {        throw new DomEx(DomEx.NOT_SUPPORTED_ERR);      }    // invalidate reader, a new one will be created    reader = null;  }