public class InvalidLengthException extends IllegalArgumentException
| Modifier and Type | Method and Description |
|---|---|
static InvalidLengthException |
TooLong(String parameter,
int len)
Static Factory making an exception indicating an argument was passed that was too long.
|
static InvalidLengthException |
TooShort(String parameter,
int len)
Static Factory making an exception indicating an argument was passed that was too short.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static InvalidLengthException TooLong(String parameter, int len)
parameter - the parameter that was too longlen - the maximum lengthpublic static InvalidLengthException TooShort(String parameter, int len)
parameter - the parameter that was too shortlen - the minimum lengthCopyright © 2016. All rights reserved.