public class InvalidTokenException extends AlignmentModelException
AlignmentModel
which does not
match the data type of the provide (e.g. trying to write an amino acid to a nucleotide data source).Constructor and Description |
---|
InvalidTokenException(AlignmentModel<?> source,
java.lang.Object token) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getToken()
Returns the invalid token that caused this exception.
|
getSource
public InvalidTokenException(AlignmentModel<?> source, java.lang.Object token)
public java.lang.Object getToken()