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
public class IllegalAlphabetException extends BioException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalAlphabetException()
Just make the exception.IllegalAlphabetException(String message)
Make the exception with a message.IllegalAlphabetException(Throwable t)
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 Detail
-
IllegalAlphabetException
public IllegalAlphabetException()
Just make the exception.
-
IllegalAlphabetException
public IllegalAlphabetException(String message)
Make the exception with a message.
-
IllegalAlphabetException
public IllegalAlphabetException(Throwable t)
-
IllegalAlphabetException
public IllegalAlphabetException(Throwable t, String message)
-
-