Package org.biojava.bio.symbol
Class IllegalAlphabetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.biojava.bio.BioException
org.biojava.bio.symbol.IllegalAlphabetException
- All Implemented Interfaces:
Serializable
The exception to indicate that an invalid alphabet has been used.
The usual reason for throwing an IllegalAlphabetException is that you are trying to parse a SymbolList into a method that only works for some alphabets, but not for the alphabet associated with that SymbolList.
- Author:
- Matthew Pocock
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJust make the exception.IllegalAlphabetException
(String message) Make the exception with a message.IllegalAlphabetException
(Throwable t, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalAlphabetException
public IllegalAlphabetException()Just make the exception. -
IllegalAlphabetException
Make the exception with a message. -
IllegalAlphabetException
-
IllegalAlphabetException
-