org.proteinshader.structure.visitor.exceptions
Class VisitorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.proteinshader.structure.visitor.exceptions.VisitorException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WriterVisitorException

public class VisitorException
extends Exception

Used to report that an error occurred while visiting an object.

See Also:
Serialized Form

Constructor Summary
VisitorException()
          Sets the default message to "ERROR: A problem occurred while visiting a Visitable object".
VisitorException(String message)
          The message given this constructor can be retrieved using getMessage().
 
Method Summary
 
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

VisitorException

public VisitorException()
Sets the default message to "ERROR: A problem occurred while visiting a Visitable object". This message can be retrieved using getMessage().


VisitorException

public VisitorException(String message)
The message given this constructor can be retrieved using getMessage().

Parameters:
message - a description of the problem.


Copyright © 2007-2008