com.hyperion.css.common
Interface CSSOperationCodeIF


public interface CSSOperationCodeIF

This interface defines all the operation codes that are associated to exceptions thrown from CSS application. Operation code helps to group the common error code/message which are used across the CSS application. The Area codes are defined based on every supported operation. Due to backward compatibilty reasons the operation code should start ony from 101.

Example

 <code>
 101:1000: Failed to create User. User admin already exists. Try a different name.
 

Here Operation code 101 denotes Create User Opeation. and error code 1000 denotes User already exists error. If create user had failed due to communication error, then the operation code remains the same, but errorcode changes appropriately.

Note:

a) All the area code should be of long data type.

b) The value of the area code should not prefixed with zero.

Author:
Arokiaraj Joseph

Field Summary
static java.lang.String DELTA_CACHE_UPDATED
          This constant is used for setting the delat cache updated status in the context Map.
static java.lang.String OPERATION_CODE_KEY
          This constant is used for setting the operation code in the context Map.
static java.lang.String UNKNOWN_API_OPERATION
          This operation code will be used, when ever public API's are not used and the API's are used indirectly.
 

Field Detail

OPERATION_CODE_KEY

static final java.lang.String OPERATION_CODE_KEY
This constant is used for setting the operation code in the context Map.

See Also:
Constant Field Values

DELTA_CACHE_UPDATED

static final java.lang.String DELTA_CACHE_UPDATED
This constant is used for setting the delat cache updated status in the context Map.

See Also:
Constant Field Values

UNKNOWN_API_OPERATION

static final java.lang.String UNKNOWN_API_OPERATION
This operation code will be used, when ever public API's are not used and the API's are used indirectly.

See Also:
Constant Field Values


Copyright © 2005-2009 Oracle Corporation.