com.ibm.presence.api.authorization
Class AuthorizationErrorCodes

java.lang.Object
  extended by com.ibm.presence.api.authorization.AuthorizationErrorCodes

public final class AuthorizationErrorCodes
extends java.lang.Object

The class contains the authorization error codes constants to be used for communication between WPS and authorization service providers


Field Summary
static int AUTHORIZATION_IS_TEMPORARY_UNAVAILABLE
          Connection to authorization server is temporary unavailable
static int AUTHORIZATION_OK
          Successfully registered/unregistered/subscribed/unsubscribed
static int AUTHORIZATION_REMOTE_EXCEPTION
          Remote exception
static int AUTHORIZATION_SERVICE_ALREADY_EXISTS
          Failed to register
static int AUTHORIZATION_SERVICE_DOES_NOT_EXIST
          Failed to unregister
static int AUTHORIZATION_SERVICE_IS_BLOCKED_BY_ADMIN
          Failed to register due to the service is disabled in configuration
 
Constructor Summary
AuthorizationErrorCodes()
           
 
Method Summary
static java.lang.String getErrorDescription(int errorCode)
          Return error description associated with this error code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORIZATION_OK

public static final int AUTHORIZATION_OK
Successfully registered/unregistered/subscribed/unsubscribed

See Also:
Constant Field Values

AUTHORIZATION_SERVICE_ALREADY_EXISTS

public static final int AUTHORIZATION_SERVICE_ALREADY_EXISTS
Failed to register

See Also:
Constant Field Values

AUTHORIZATION_SERVICE_DOES_NOT_EXIST

public static final int AUTHORIZATION_SERVICE_DOES_NOT_EXIST
Failed to unregister

See Also:
Constant Field Values

AUTHORIZATION_REMOTE_EXCEPTION

public static final int AUTHORIZATION_REMOTE_EXCEPTION
Remote exception

See Also:
Constant Field Values

AUTHORIZATION_IS_TEMPORARY_UNAVAILABLE

public static final int AUTHORIZATION_IS_TEMPORARY_UNAVAILABLE
Connection to authorization server is temporary unavailable

See Also:
Constant Field Values

AUTHORIZATION_SERVICE_IS_BLOCKED_BY_ADMIN

public static final int AUTHORIZATION_SERVICE_IS_BLOCKED_BY_ADMIN
Failed to register due to the service is disabled in configuration

See Also:
Constant Field Values
Constructor Detail

AuthorizationErrorCodes

public AuthorizationErrorCodes()
Method Detail

getErrorDescription

public static java.lang.String getErrorDescription(int errorCode)
Return error description associated with this error code

Parameters:
errorCode - error code
Returns:
String error description


Copyright © 2007 IBM Corp. All Rights Reserved.