public final class WrongLengthException extends Exception
WrongLengthException
is thrown if a given (sub)sequence length is
not correct.Constructor and Description |
---|
WrongLengthException(int length)
Simple Constructor.
|
WrongLengthException(String message)
Creates a new
WrongLengthException with your own
message . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongLengthException(int length)
length
- the length that was not supportedpublic WrongLengthException(String message)
WrongLengthException
with your own
message
.message
- the message