de.jstacs
Class WrongAlphabetException

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

public class WrongAlphabetException
extends Exception

A WrongAlphabetException is thrown if a data file did not match the given alphabet.

Author:
Jan Grau
See Also:
Serialized Form

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


WrongAlphabetException

public WrongAlphabetException(String message)
Creates a new WrongAlphabetException with your own message.

Parameters:
message - the message