de.jstacs
Class WrongAlphabetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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 . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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