public final class ErrorHelper
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ErrorHelper.ErrorMessage
Common error messages 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
validateNotNull(java.lang.String argName,
               java.lang.Object argValue)
Validate that the given argument is not null 
 | 
static void | 
validateNotNullOrEmpty(java.lang.String argName,
                      java.util.Collection argValue)
Validate that the given argument is not null or empty 
 | 
static void | 
validateNotNullOrEmpty(java.lang.String argName,
                      java.lang.Object[] argValue)  | 
static void | 
validateNotNullOrEmpty(java.lang.String argName,
                      java.lang.String argValue)
Validate that the given argument is not null or empty 
 | 
public static void validateNotNullOrEmpty(java.lang.String argName,
                                          java.lang.Object[] argValue)
public static void validateNotNullOrEmpty(java.lang.String argName,
                                          java.util.Collection argValue)
argName - The tested argument name or labelargValue - The tested argument valuejava.lang.IllegalArgumentException - if the tested argument is
 null or emptypublic static void validateNotNullOrEmpty(java.lang.String argName,
                                          java.lang.String argValue)
argName - The tested argument name or labelargValue - The tested argument valuejava.lang.IllegalArgumentException - if the tested argument is
 null or emptypublic static void validateNotNull(java.lang.String argName,
                                   java.lang.Object argValue)
argName - The tested argument name or labelargValue - The tested argument valuejava.lang.IllegalArgumentException - if the tested argument is
 null