org.proteinshader.structure.visitor.exceptions
Class VisitorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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(). |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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