throw new DomEx(DomEx.NOT_SUPPORTED_ERR);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR);
  public Object getParameter(String name)    throws DOMException  {    if ("discard-default-content".equals(name))      {        return discardDefaultContent ? "true" : "false";      }    else if ("xml-declaration".equals(name))      {        return xmlDeclaration ? "true" : "false";      }    else      {        throw new DomEx(DomEx.NOT_SUPPORTED_ERR);      }  }