xtc.tree
Class TraversalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.
 
Method Summary
 java.lang.Throwable getCause()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
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
 

Constructor Detail

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.
Method Detail

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.