org.proteinshader.structure.exceptions
Class InvalidRegionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.proteinshader.structure.exceptions.InvalidRegionException
- All Implemented Interfaces:
- Serializable
public class InvalidRegionException
- extends Exception
Used to report that a Region (Helix or BetaStrand) is invalid because
its start and end Residue IDs could not be matched to an existing
sequence of Residues in a Chain.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidRegionException
public InvalidRegionException()
- Sets the default message to
"ERROR: The start and end residues of a region are invalid".
This message can be retrieved using getMessage().
InvalidRegionException
public InvalidRegionException(String message)
- The message given this constructor can be retrieved using
getMessage().
- Parameters:
message
- a description of the problem.
Copyright © 2007-2008