edu.uky.rch.ept.xmlSegmentTree
Class TraversalException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.uky.rch.ept.xmlSegmentTree.TraversalException
All Implemented Interfaces:
Serializable

public class TraversalException
extends Exception

Exception to signal the end of a SegmentTree traversal. If a SegmentTreeVisitor method throws this exception, SegmentTree.traverse(SegmentTreeVisitor, ElementFilter) catches the exception and returns immediately.

See Also:
Serialized Form

Constructor Summary
TraversalException()
          Create a traversal exception with null as its detail message.
TraversalException(String message)
          Create a traversal exception with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraversalException

public TraversalException()
Create a traversal exception with null as its detail message.


TraversalException

public TraversalException(String message)
Create a traversal exception with the specified detail message. SegmentTree.traverse(SegmentTreeVisitor, ElementFilter) ignores the message, so the message is only really useful for debugging.

Parameters:
message - the detail message. Can later be retrieved with Throwable.getMessage()