Example usage for com.google.gwt.xml.client DOMException INVALID_ACCESS_ERR

List of usage examples for com.google.gwt.xml.client DOMException INVALID_ACCESS_ERR

Introduction

In this page you can find the example usage for com.google.gwt.xml.client DOMException INVALID_ACCESS_ERR.

Prototype

short INVALID_ACCESS_ERR

To view the source code for com.google.gwt.xml.client DOMException INVALID_ACCESS_ERR.

Click Source Link

Usage

From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java

License:Mozilla Public License

/**
 * This function delegates to the native method <code>substringData</code>
 * in XMLParserImpl./*  www.  ja v  a2  s. c  o m*/
 */
public String substringData(final int offset, final int count) {
    try {
        return XMLParserImpl.substringData(this.getJsObject(), offset, count);
    } catch (JavaScriptException e) {
        throw new DOMNodeExceptionXml(DOMException.INVALID_ACCESS_ERR, e, this);
    }
}