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