Code example for DOMException

0
    } 
 
    public void setDocumentURI(String documentURI) {} 
 
    public Node adoptNode(Node source) throws DOMException { 
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 
    } 
 
    public DOMConfiguration getDomConfig() { 
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 
    } 
 
    public void normalizeDocument() { 
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 
    } 
 
    public Node renameNode(Node n, String namespaceURI, String qualifiedName) 
            throws DOMException { 
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 
    } 
Connect your IDE to all the code out there  Get Codota for Java