de.jstacs.data
Class WrongLengthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.jstacs.data.WrongLengthException
- All Implemented Interfaces:
- Serializable
public final class WrongLengthException
- extends Exception
A WrongLengthException
is thrown if a given (sub)sequence length is
not correct.
- Author:
- Jan Grau
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WrongLengthException
public WrongLengthException(int length)
- Simple Constructor.
- Parameters:
length
- the length that was not supported
WrongLengthException
public WrongLengthException(String message)
- Creates a new
WrongLengthException
with your own
message
.
- Parameters:
message
- the message