Sun Adapter for SAG API

com.stc.connector.sagadapter.sagapi
Class SAGConstants.C_ServerErrorCode

java.lang.Object
  extended by com.stc.connector.sagadapter.sagapi.SAGConstants.C_ServerErrorCode
Enclosing class:
SAGConstants

public static class SAGConstants.C_ServerErrorCode
extends java.lang.Object

Constants for server error code for Remote API putError(...).

Version:
cvs revision: $Revision: 1.5 $ Last Modified: $Date: 2007/07/06 23:52:30 $
Author:
Harry Liu (harry.liu@sun.com)

Constructor Summary
SAGConstants.C_ServerErrorCode()
           
 
Method Summary
static int getLocalAuthenticationFailure()
          Returns server error code SERVER_ERROR_CODE_LOCAL_AUTHENTICATION_FAILURE.
static int getNoServerBusinessResponse()
          Returns server error code SERVER_ERROR_CODE_NO_SERVER_BUSINESS_RESPONSE.
static boolean hasValue(int value)
          Checks whether the constant category has/contains the specified value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAGConstants.C_ServerErrorCode

public SAGConstants.C_ServerErrorCode()
Method Detail

getLocalAuthenticationFailure

public static final int getLocalAuthenticationFailure()
Returns server error code SERVER_ERROR_CODE_LOCAL_AUTHENTICATION_FAILURE.

Parameters:
None.

Returns:
int - Returns server error code SERVER_ERROR_CODE_LOCAL_AUTHENTICATION_FAILURE.
Throws:
None.

getNoServerBusinessResponse

public static final int getNoServerBusinessResponse()
Returns server error code SERVER_ERROR_CODE_NO_SERVER_BUSINESS_RESPONSE.

Parameters:
None.

Returns:
int - Returns server error code SERVER_ERROR_CODE_NO_SERVER_BUSINESS_RESPONSE.
Throws:
None.

hasValue

public static final boolean hasValue(int value)
Checks whether the constant category has/contains the specified value.

Parameters:
value - The value to be checked.
Returns:
true or false

Sun Adapter for SAG API

Copyright © 2008 Sun Microsystems, Inc. All rights reserved.