XML for Java Compatibility API 2.0.11

com.ibm.xml.parser
Class ToNextSiblingTraversalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.xml.parser.TreeTraversalException
                    |
                    +--com.ibm.xml.parser.ToNextSiblingTraversalException

public class ToNextSiblingTraversalException
extends TreeTraversalException

XML4J tree traversal exception which signals from a Visitor to the tree traversal algorithm that further traversal of the current Node's children should be ended because the visit on this portion of thee document object hierarchy has been successfully completed. For example, the MakeDigestVisitor throws this exception when a digest already exists on a given Node, and there is no need to traverse children of this Node. Note that this exception constitutes a request that a traversal algorithm is free to ignore.

Version:
Revision: 92 1.4 src/com/ibm/xml/parser/ToNextSiblingTraversalException.java, parser, xml4j2, xml4j2_0_11
See Also:
NonRecursivePreorderTreeTraversal.traverse(org.w3c.dom.Node), MakeDigestVisitor, TreeTraversalException, Serialized Form

Constructor Summary
ToNextSiblingTraversalException()
          Constructor for exception with no detail message.
ToNextSiblingTraversalException(java.lang.String msg)
          Constructor for exception with detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToNextSiblingTraversalException

public ToNextSiblingTraversalException()
Constructor for exception with no detail message.

ToNextSiblingTraversalException

public ToNextSiblingTraversalException(java.lang.String msg)
Constructor for exception with detail message.
Parameters:
msg - The detail message for the exception.

XML for Java Compatibility API 2.0.11