Packagedom.tr.range
Classpublic class RangeExceptionCode
InheritanceRangeExceptionCode Inheritance Object

Introduced in: DOM 2 Core 

An integer indicating the type of error generated.

See also

W3C - DOM Level 2 Range: RangeExceptionCode


Public Constants
 ConstantDefined By
  DOM 2 TR BAD_BOUNDARYPOINTS_ERR : Number = 1
[static] If the boundary-points of a Range do not meet specific requirements.
RangeExceptionCode
  DOM 2 TR INVALID_NODE_TYPE_ERR : Number = 2
[static] 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.
RangeExceptionCode
Constant Detail
DOM 2 TR BAD_BOUNDARYPOINTS_ERRConstant
public static const BAD_BOUNDARYPOINTS_ERR:Number = 1

Introduced in: DOM 2 Core 

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

DOM 2 TR INVALID_NODE_TYPE_ERRConstant 
public static const INVALID_NODE_TYPE_ERR:Number = 2

Introduced in: DOM 2 Core 

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.