Class IllegalAlphabetException

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(java.lang.String message)
        Make the exception with a message.
      • IllegalAlphabetException

        public IllegalAlphabetException​(java.lang.Throwable t)
      • IllegalAlphabetException

        public IllegalAlphabetException​(java.lang.Throwable t,
                                        java.lang.String message)