public class DoubleSymbolException extends Exception
DoubleSymbolException
is thrown if a symbol occurred more than once
in an alphabet.Constructor and Description |
---|
DoubleSymbolException(String symbol)
Constructor for a
DoubleSymbolException that takes the symbol
that occurs more than once in the error message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DoubleSymbolException(String symbol)
DoubleSymbolException
that takes the symbol
that occurs more than once in the error message.symbol
- the symbol that occurred more than onceException.Exception(String)