com.tensegrity.generic.attribute
Class VisitException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tensegrity.generic.util.StaticException
              extended bycom.tensegrity.generic.attribute.AttributeException
                  extended bycom.tensegrity.generic.attribute.VisitException
All Implemented Interfaces:
java.io.Serializable

public class VisitException
extends AttributeException

This exception is thrown if one of the find methods is invoked with an illegal path argument (ending with separator char, including empty paths or similar). Also, AttributeCollectionVisitor objects can potentially throw this exception if they need to signal a failure condition to callers. Some of the visitor implementations, however, may not have to deal with the possibility of exceptions and thus can omit the declaration of this exception in their signatures.

Version:
$Id: VisitException.java,v 1.5 2005/03/02 13:51:20 KevinCVS Exp $
Author:
S. Rutz
See Also:
Serialized Form

Constructor Summary
VisitException(java.lang.String what)
          Constructor specifying the reason for this exception.
 
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

VisitException

public VisitException(java.lang.String what)
Constructor specifying the reason for this exception.

Parameters:
what - a detailed message for this exception.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.