|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfinternal.model.logging.contextual.ErrorHelper
public final class ErrorHelper
Utility class to help with validation of method arguments and facilitate the use of transltable error message.
Nested Class Summary | |
---|---|
static class |
ErrorHelper.ErrorMessage Common error messages |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |