List of usage examples for org.w3c.dom DOMException NO_DATA_ALLOWED_ERR
short NO_DATA_ALLOWED_ERR
To view the source code for org.w3c.dom DOMException NO_DATA_ALLOWED_ERR.
Click Source Link
Node
which does not support data. From source file:org.apache.axis.message.NodeImpl.java
/** * The value of this node, depending on its type; see the table above. * When it is defined to be <code>null</code>, setting it has no effect. * /* ww w .j ava 2 s . c o m*/ * @throws org.w3c.dom.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. * @throws org.w3c.dom.DOMException DOMSTRING_SIZE_ERR: Raised when it would return more characters than * fit in a <code>DOMString</code> variable on the implementation * platform. */ public void setNodeValue(String nodeValue) throws DOMException { throw new DOMException(DOMException.NO_DATA_ALLOWED_ERR, "Cannot use TextNode.set in " + this); }