de.jstacs.data
Class WrongAlphabetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.jstacs.data.WrongAlphabetException
All Implemented Interfaces:
Serializable

public class WrongAlphabetException
extends Exception

A WrongAlphabetException is thrown if the given Alphabet or AlphabetContainer does not support some data.

Author:
Jan Grau
See Also:
Serialized Form

Constructor Summary
WrongAlphabetException()
          Creates a new WrongAlphabetException with standard error message ("The data of the selected file does not match the entered alphabet.").
WrongAlphabetException(String message)
          Creates a new WrongAlphabetException with given error 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

WrongAlphabetException

public WrongAlphabetException()
Creates a new WrongAlphabetException with standard error message ("The data of the selected file does not match the entered alphabet.").


WrongAlphabetException

public WrongAlphabetException(String message)
Creates a new WrongAlphabetException with given error message.

Parameters:
message - the error message