uk.ac.man.bioinf.sequence.alignment
Class NoGapAtThisPositionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--uk.ac.man.bioinf.sequence.alignment.NoGapAtThisPositionException
- All Implemented Interfaces:
- Serializable
- public class NoGapAtThisPositionException
- extends RuntimeException
NoGapAtThisPositionException.java
Created: Sat Mar 4 14:04:07 2000
- Version:
- $Id: NoGapAtThisPositionException.java,v 1.3 2001/04/11 17:04:43 lord Exp $
- Author:
- Phillip Lord
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoGapAtThisPositionException
public NoGapAtThisPositionException(String message)
NoGapAtThisPositionException
public NoGapAtThisPositionException(String message,
GappedSequence source,
int index)
- Creates an object signalling an exception for no gap at a
particular position. This constructor stores the source and index
within the source where the exception was raised.
- Parameters:
message
- the message to usesource
- the gapped sequence or sourceindex
- the index in the source of the raised
NoGapAtThisPositionException
public NoGapAtThisPositionException(GappedSequence source,
int index)
getSource
public GappedSequence getSource()
getIndex
public int getIndex()