|
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 | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<ErrorHelper.ErrorMessage>
oracle.adfinternal.model.logging.contextual.ErrorHelper.ErrorMessage
public static enum ErrorHelper.ErrorMessage
Common error messages
| Enum Constant Summary | |
|---|---|
CLOSED_LOGGER |
|
INVALID_LOGGER_FOR_DOMAIN |
|
INVALID_NULL_ARG |
|
INVALID_NULL_OR_EMPTY_ARG |
|
SCOPE_NOT_FOUND |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage(java.lang.Object... args)The error message obtained from the resource bundle taking the current locale into consideration. |
java.lang.String |
getLogMessage(java.lang.Object... args) |
static ErrorHelper.ErrorMessage |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static ErrorHelper.ErrorMessage[] |
values()Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ErrorHelper.ErrorMessage SCOPE_NOT_FOUND
public static final ErrorHelper.ErrorMessage INVALID_LOGGER_FOR_DOMAIN
public static final ErrorHelper.ErrorMessage CLOSED_LOGGER
public static final ErrorHelper.ErrorMessage INVALID_NULL_OR_EMPTY_ARG
public static final ErrorHelper.ErrorMessage INVALID_NULL_ARG
| Method Detail |
|---|
public static ErrorHelper.ErrorMessage[] values()
for (ErrorHelper.ErrorMessage c : ErrorHelper.ErrorMessage.values())
System.out.println(c);
public static ErrorHelper.ErrorMessage valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getLocalizedMessage(java.lang.Object... args)
The error message obtained from the resource bundle taking the current locale into consideration. The locale will be retrieved from the current ADFContext.
args - Optional array containing all arguments expected to fill up the error message's template.StringManager.getLocalizedString(String,String,String,java.util.Locale,Object[])public java.lang.String getLogMessage(java.lang.Object... args)
|
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 | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||