APIdia Launch Partner
Top Description Fields Constructors
org.w3c.dom.ranges

public Class RangeException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xerces.internal.dom.RangeExceptionImpl

Range operations may throw a RangeException as specified in their method descriptions.

See also the Document Object Model (DOM) Level 2 Traversal and Range Specification.

Since
9, DOM Level 2

Field Summary

Modifier and TypeField and Description
public static final short
BAD_BOUNDARYPOINTS_ERR

If the boundary-points of a Range do not meet specific requirements.

public short
public static final short
INVALID_NODE_TYPE_ERR

If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.

private static final long

Constructor Summary

AccessConstructor and Description
public
RangeException(short code, String message)

Field Detail

BAD_BOUNDARYPOINTS_ERRback to summary
public static final short BAD_BOUNDARYPOINTS_ERR

If the boundary-points of a Range do not meet specific requirements.

codeback to summary
public short code
INVALID_NODE_TYPE_ERRback to summary
public static final short INVALID_NODE_TYPE_ERR

If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

RangeExceptionback to summary
public RangeException(short code, String message)