public class ValidateUtil extends Object
| Constructor and Description |
|---|
ValidateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
isGreaterThan(long theValue,
long theMinimum,
String theMessage)
Throws
IllegalArgumentException if theValue is <= theMinimum |
static void |
isGreaterThanOrEqualTo(long theValue,
long theMinimum,
String theMessage)
Throws
IllegalArgumentException if theValue is <= theMinimum |
static void |
isNotBlankOrThrowInvalidRequest(String theString,
String theMessage) |
static void |
isTrueOrThrowInvalidRequest(boolean theSuccess,
String theMessage) |
public ValidateUtil()
public static void isTrueOrThrowInvalidRequest(boolean theSuccess, String theMessage)
public static void isNotBlankOrThrowInvalidRequest(String theString, String theMessage)
public static void isGreaterThan(long theValue, long theMinimum, String theMessage)
IllegalArgumentException if theValue is <= theMinimumpublic static void isGreaterThanOrEqualTo(long theValue, long theMinimum, String theMessage)
IllegalArgumentException if theValue is <= theMinimumCopyright © 2014–2017 University Health Network. All rights reserved.