public class WrongAlphabetException extends Exception
WrongAlphabetException
is thrown if the given Alphabet
or AlphabetContainer
does not support some data.Constructor and Description |
---|
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 . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongAlphabetException()
WrongAlphabetException
with standard error message
("The data of the selected file does not match the entered
alphabet.").public WrongAlphabetException(String message)
WrongAlphabetException
with given error
message
.message
- the error message