|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<SearchExceptionCodes>
oracle.webcenter.search.SearchExceptionCodes
public enum SearchExceptionCodes
This enumeration lists the possible value for the SearchExceptionCodes that comes with the API. There will be messages corresponding to these keys in the SearchResourceBundle class.
Enum Constant Summary | |
---|---|
AUTHENTICATION_ERROR An error occurred with authentication that halted execution. |
|
CONFIGURATION_ERROR Configuration related errors. |
|
EXECUTION_ERROR An error occurred while executing the Query. |
|
EXECUTION_TIMEOUT_ERROR The execution of the Query does not complete within the execution time limit. |
|
INVALID_QUERY Any part of the Query that is sent in is invalid. |
|
RESPONSE_ERROR An error occurred with the QueryResult sent back. |
|
SEARCH_API_IMPLEMENTATION_ERROR An error occurred when api implementation does not provide expected data |
Method Summary | |
---|---|
java.lang.String |
getResourceBundleKey() Gets the key in the resource bundle for the exception code. |
static SearchExceptionCodes |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static SearchExceptionCodes[] |
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 SearchExceptionCodes CONFIGURATION_ERROR
public static final SearchExceptionCodes INVALID_QUERY
public static final SearchExceptionCodes EXECUTION_ERROR
public static final SearchExceptionCodes EXECUTION_TIMEOUT_ERROR
public static final SearchExceptionCodes RESPONSE_ERROR
public static final SearchExceptionCodes AUTHENTICATION_ERROR
public static final SearchExceptionCodes SEARCH_API_IMPLEMENTATION_ERROR
Method Detail |
---|
public static SearchExceptionCodes[] values()
for (SearchExceptionCodes c : SearchExceptionCodes.values()) System.out.println(c);
public static SearchExceptionCodes 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 getResourceBundleKey()
getResourceBundleKey
in interface SearchExceptionCode
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |