org.proteinshader.structure.visitor.exceptions
Class WriterVisitorException

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

public class WriterVisitorException
extends VisitorException

Used to report that an error occurred while trying to write info on a Visitable object.

See Also:
Serialized Form

Constructor Summary
WriterVisitorException()
          Sets the default message to "ERROR: A problem occurred while trying to write a file".
WriterVisitorException(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

WriterVisitorException

public WriterVisitorException()
Sets the default message to "ERROR: A problem occurred while trying to write a file". This message can be retrieved using getMessage().


WriterVisitorException

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

Parameters:
message - a description of the problem.


Copyright © 2007-2008