edu.uky.rch.ept.xmlSegmentTree
Class TraversalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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()