|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.core.util.ValidationUtil
public class ValidationUtil
Constructor Summary | |
---|---|
ValidationUtil()
|
Method Summary | |
---|---|
static void |
notEmptyOrNull(String value,
String argumentName)
Throws an EdcIllegalNullArgumentException if the string value for the specified argument is empty or null. |
static void |
notNegative(int value,
String argumentName)
Throws an EdcIllegalNullArgumentException if the value for the specified argument is null. |
static void |
notNegative(long value,
String argumentName)
Throws an EdcIllegalNullArgumentException if the value for the specified argument is null. |
static void |
notNegative(short value,
String argumentName)
Throws an EdcIllegalNullArgumentException if the value for the specified argument is null. |
static void |
notNull(Object value,
String argumentName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationUtil()
Method Detail |
---|
public static void notNull(Object value, String argumentName) throws EsfException
EsfException
public static void notEmptyOrNull(String value, String argumentName) throws EsfException
obj
- argumentName
-
EdcIllegalNullArgumentException
EsfException
public static void notNegative(int value, String argumentName) throws EsfException
obj
- argumentName
-
EdcIllegalNullArgumentException
EsfException
public static void notNegative(short value, String argumentName) throws EsfException
obj
- argumentName
-
EdcIllegalNullArgumentException
EsfException
public static void notNegative(long value, String argumentName) throws EsfException
obj
- argumentName
-
EdcIllegalNullArgumentException
EsfException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |