org.proteinshader.structure.exceptions
Class SegmentException

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

public class SegmentException
extends Exception

Used to report an error while trying to create a Segment object.

An error may occur if there is a missing Atom in the AminoAcid that the Segment corresponds to.

See Also:
Serialized Form

Constructor Summary
SegmentException()
          Sets the default message to "ERROR: A Segment object could not be created".
SegmentException(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

SegmentException

public SegmentException()
Sets the default message to "ERROR: A Segment object could not be created". This message can be retrieved using getMessage().


SegmentException

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

Parameters:
message - a description of the problem.


Copyright © 2007-2008