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,
Object token) |
Modifier and Type | Method and Description |
---|---|
Object |
getToken()
Returns the invalid token that caused this exception.
|
getSource
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidTokenException(AlignmentModel<?> source, Object token)