| Modifier and Type | Method and Description |
|---|---|
static InvalidLengthException |
InvalidLengthException.TooLong(String parameter,
int len)
Static Factory making an exception indicating an argument was passed that was too long.
|
static InvalidLengthException |
InvalidLengthException.TooShort(String parameter,
int len)
Static Factory making an exception indicating an argument was passed that was too short.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Validate.maxLength(String x,
int max,
String name)
Asserts that the String is not longer than
max. |
static <T> void |
Validate.minLength(T[] x,
int min,
String name)
Asserts that the String is not shorter than
max. |
Copyright © 2016. All rights reserved.