Code example for DOMException

0
	public String getNodeName() { 
		return "#text"; 
	} 
 
	public Text splitText(int offset) throws DOMException { 
		throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, 
				"SAXDOM objects are read-only."); 
	} 
 
	public String getWholeText() { 
		throw new PEException("Not implemented yet"); 
	} 
 
	public boolean isElementContentWhitespace() { 
		throw new PEException("Not implemented yet"); 
	} 
 
	public Text replaceWholeText(String content) throws DOMException { 
		throw new PEException("Not implemented yet"); 
	} 
}