org.proteinshader.structure.exceptions
Class InvalidRegionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
InvalidRegionException()
          Sets the default message to "ERROR: The start and end residues of a region are invalid".
InvalidRegionException(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

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