xtc.tree
Class TraversalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xtc.tree.TraversalException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- VisitingException, VisitorException
public class TraversalException
- extends java.lang.RuntimeException
The superclass of exceptions signaled during visitor dispatch.
- Version:
- $Revision: 1.2 $
- Author:
- Robert Grimm
- See Also:
- Serialized Form
|
Constructor Summary |
TraversalException(java.lang.String message)
Create a new traversal exception with the specified detail
message. |
TraversalException(java.lang.String message,
java.lang.Throwable cause)
Create a new traversal exception with the specified detail
message and cause. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TraversalException
public TraversalException(java.lang.String message)
- Create a new traversal exception with the specified detail
message.
- Parameters:
message - The detail message.
TraversalException
public TraversalException(java.lang.String message,
java.lang.Throwable cause)
- Create a new traversal exception with the specified detail
message and cause.
- Parameters:
message - The detail message.cause - The cause.
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace in class java.lang.Throwable
Copyright © 2012. All Rights Reserved.