xtc.tree
Class VisitorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by xtc.tree.TraversalException
                  extended by xtc.tree.VisitorException
All Implemented Interfaces:
java.io.Serializable

public class VisitorException
extends TraversalException

A visitor exception is thrown when no appropriate visit() or process() method can be found.

Version:
$Revision: 1.6 $
Author:
Robert Grimm
See Also:
Serialized Form

Constructor Summary
VisitorException(java.lang.String message)
          Create a new visitor exception with the specified detail message.
VisitorException(java.lang.String message, java.lang.Throwable cause)
          Create a new visitor exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class xtc.tree.TraversalException
getCause, printStackTrace, printStackTrace
 
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

VisitorException

public VisitorException(java.lang.String message)
Create a new visitor exception with the specified detail message.

Parameters:
message - The detail message.

VisitorException

public VisitorException(java.lang.String message,
                        java.lang.Throwable cause)
Create a new visitor exception with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause.


Copyright © 2012. All Rights Reserved.