org.biojava.bio.symbol
Class IllegalAlphabetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.biojava.bio.BioException
              extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)


Copyright © 2012 BioJava. All Rights Reserved.