Example usage for org.w3c.dom DOMException NOT_SUPPORTED_ERR

List of usage examples for org.w3c.dom DOMException NOT_SUPPORTED_ERR

Introduction

In this page you can find the example usage for org.w3c.dom DOMException NOT_SUPPORTED_ERR.

Prototype

short NOT_SUPPORTED_ERR

To view the source code for org.w3c.dom DOMException NOT_SUPPORTED_ERR.

Click Source Link

Document

If the implementation does not support the requested type of object or operation.

Usage

From source file:org.exist.dom.ElementImpl.java

/** ? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
 *///w w  w  . j a v  a  2s .c o m
@Override
public Object setUserData(String key, Object data, UserDataHandler handler) {
    throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
            "setUserData(String key, Object data, UserDataHandler handler) " + "not implemented on class "
                    + getClass().getName());
}

From source file:org.exist.dom.ElementImpl.java

/** ? @see org.w3c.dom.Node#getUserData(java.lang.String)
 *//*from  w w  w. ja  v  a  2  s  . c  o m*/
@Override
public Object getUserData(String key) {
    throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
            "getUserData(String key) not implemented on class " + getClass().getName());
}

From source file:org.structr.web.entity.dom.Page.java

@Override
public Node renameNode(Node node, String string, String string1) throws DOMException {
    throw new DOMException(DOMException.NOT_SUPPORTED_ERR, NOT_SUPPORTED_ERR_MESSAGE_RENAME);
}

From source file:org.structr.web.entity.dom.Page.java

@Override
public Node doAdopt(Page page) throws DOMException {
    throw new DOMException(DOMException.NOT_SUPPORTED_ERR, NOT_SUPPORTED_ERR_MESSAGE_ADOPT_DOC);
}

From source file:org.structr.web.entity.dom.Page.java

@Override
public Node doImport(Page newPage) throws DOMException {
    throw new DOMException(DOMException.NOT_SUPPORTED_ERR, NOT_SUPPORTED_ERR_MESSAGE_IMPORT_DOC);
}