Contents | Package | Class | Tree | Deprecated | Index | Help XML for Java 1.0.4
PREV | NEXT SHOW LISTS | HIDE LISTS

Class com.ibm.xml.parser.TreeTraversalException

java.lang.Object
    |
    +----java.lang.Throwable
            |
            +----java.lang.Exception
                    |
                    +----com.ibm.xml.parser.TreeTraversalException
Subclasses:
EndTraversalException, ToNextSiblingTraversalException

public class TreeTraversalException
extends java.lang.Exception
XML4J tree traversal exception which signals from a Visitor to the tree traversal algorithm that a correction is requested. Typically, the correction will increase the speed of the traversal due to an optimization condition that is recognized by the Visitor. 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: 70 1.3 src/com/ibm/xml/parser/TreeTraversalException.java, xml4jsrc, xml4j-jtcsv, xml4j_1_0_4
See Also:
traverse, traverse, MakeDigestVisitor

Constructor Summary
 TreeTraversalException()
Constructor for exception with no detail message.
 TreeTraversalException(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, toString, wait, wait, wait
 

Constructor Detail

TreeTraversalException

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

TreeTraversalException

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

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS