org.proteinshader.structure.io.exceptions
Class StructureReaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.proteinshader.structure.io.exceptions.StructureReaderException
All Implemented Interfaces:
Serializable

public class StructureReaderException
extends Exception

Used to report that an error occurred while reading a file to create a Structure.

See Also:
Serialized Form

Constructor Summary
StructureReaderException()
          Sets the default message to "An error occurred while reading the file".
StructureReaderException(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

StructureReaderException

public StructureReaderException()
Sets the default message to "An error occurred while reading the file". This message can be retrieved using getMessage().


StructureReaderException

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

Parameters:
message - a description of the problem.


Copyright © 2007-2008