CONFIDENTIAL

com.avaya.conferencing.bcapi
Class ACOMException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.avaya.conferencing.bcapi.ACOMException
All Implemented Interfaces:
java.io.Serializable

public abstract class ACOMException
extends java.lang.Exception

ACOMException is the superclass of all those exceptions that can be thrown to indicate a type of command failure. Contains message, error code and possibly cause.

Author:
George Ruban 11:08 AM 6/2/2005
See Also:
Serialized Form

Field Summary
static int CLASS_GETMETHOD_NAME_MATCH_ERROR
          SetPropertyMethods Map did not match method
static java.lang.String CLASS_GETMETHOD_NAME_MATCH_ERROR_STRING
          SetPropertyMethods Map did not match method
protected  int errorCode
          Enumerated error type: 0 for no error, from 1000-1999 for bridge-generated errors, 2000-2999 for Hermes transport generated errors, 3000-3999 for Client BCAPI generated errors.
static int EXECUTE_CMD_FAILED
          For ACOMObject
static java.lang.String EXECUTE_CMD_FAILED_STRING
          For ACOMObject
static int EXTENDED_PROPERTY_NAME_ERROR
          Extended Property Name Exception
static java.lang.String EXTENDED_PROPERTY_NAME_ERROR_STRING
          Extended Property Name Exception
static int EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR
          Extended Property Value Type Exception
static java.lang.String EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING
          Extended Property Value Type Exception
static int EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR
          Extended Property Value Type Exception
static java.lang.String EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING
          Extended Property Value Type Exception
static int INVALID_ARG_BAD_ROOM_NUMBER_ERROR_CODE
          Bad room number (i.e.
static java.lang.String INVALID_ARG_BAD_ROOM_NUMBER_ERROR_STRING
          Bad room number (i.e.
static int INVALID_ARG_BIG_VALUE_ERROR_CODE
          The specified input parameter must be smaller than the specified value.
static java.lang.String INVALID_ARG_BIG_VALUE_ERROR_STRING
          The specified input parameter must be smaller than the specified value.
static int INVALID_ARG_EMPTY_ERROR_CODE
          The specified input parameter can't be an empty string.
static java.lang.String INVALID_ARG_EMPTY_ERROR_STRING
          The specified input parameter can't be an empty string.
static int INVALID_ARG_NON_NUMERIC_VALUE_ERROR_CODE
          The specified input parameter must be numerical.
static java.lang.String INVALID_ARG_NON_NUMERIC_VALUE_ERROR_STRING
          The specified input parameter must be numerical.
static int INVALID_ARG_NULL_ERROR_CODE
          The specified input parameter can't be Null.
static java.lang.String INVALID_ARG_NULL_ERROR_STRING
          The specified input parameter can't be Null.
static int INVALID_ARG_OUT_RANGE_VALUE_ERROR_CODE
          The specified input parameter is out of the specified range of values.
static java.lang.String INVALID_ARG_OUT_RANGE_VALUE_ERROR_STRING
          The specified input parameter is out of the specified range of values.
static int INVALID_ARG_SMALL_VALUE_ERROR_CODE
          The specified input parameter must be greater than the specified value.
static java.lang.String INVALID_ARG_SMALL_VALUE_ERROR_STRING
          The specified input parameter must be greater than the specified value.
static int INVALID_OBJ_NOT_EXIST_CODE
          Object called no longer exists on the bridge.
static java.lang.String INVALID_OBJ_NOT_EXIST_STRING
          Object called no longer exists on the bridge.
static int INVALID_OBJ_NOT_IN_SERVICE_CODE
          Object called is no longer in service on the bridge.
static java.lang.String INVALID_OBJ_NOT_IN_SERVICE_STRING
          Object called is no longer in service on the bridge.
static int INVALID_OBJ_NOT_SUBSCD_CODE
          Object called is not subscribed to.
static java.lang.String INVALID_OBJ_NOT_SUBSCD_STRING
          Object called is not subscribed to.
static int NOT_YET_IMPLEMENTED_ERROR_CODE
          BCAPI method not yet implemented.
static java.lang.String NOT_YET_IMPLEMENTED_ERROR_STRING
          BCAPI method not yet implemented.
static int PROPERTY_MAP_ERROR
          synchronizeObject map does not exist
static java.lang.String PROPERTY_MAP_ERROR_STRING
          synchronizeObject map does not exist
static int PROPERTY_NAME_ERROR
          GetPropertyMethod name not in map
static java.lang.String PROPERTY_NAME_ERROR_STRING
          GetPropertyMethod name not in map
static int PROPERTY_NAME_READONLY
          Extended Property Value Type Exception
static java.lang.String PROPERTY_NAME_READONLY_STRING
          Extended Property Value Type Exception
static int PROPERTY_VALUE_TYPE_MATCH_ERROR
          Property Type Exception
static java.lang.String PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING
          Property Type Exception
static int PROPERTY_VALUE_TYPE_MISSING_ERROR
          Extended Property Value Type Exception
static java.lang.String PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING
          Extended Property Value Type Exception
static int RESPONSE_CMD_TIMED_OUT
          For ACOMObject
static java.lang.String RESPONSE_CMD_TIMED_OUT_STRING
          For ACOMObject
static int SESSION_ALREADY_DISCONNECTED
          For bcapi.Session
static java.lang.String SESSION_ALREADY_DISCONNECTED_STRING
          For bcapi.Session
static int SESSION_AND_BRIDGE_EXISTS
          For bcapi.Session
static java.lang.String SESSION_AND_BRIDGE_EXISTS_STRING
          For bcapi.Session
static int SESSION_AND_BRIDGE_MUST_MATCH
          For bcapi.Session
static java.lang.String SESSION_AND_BRIDGE_MUST_MATCH_STRING
          For bcapi.Session
static int SESSION_CMD_FAILED
          For bcapi.Session
static java.lang.String SESSION_CMD_FAILED_STRING
          For bcapi.Session
static int SESSION_NOT_CREATED_CODE
          For the bcapi.SessionFactory
static java.lang.String SESSION_NOT_CREATED_STRING
          For the bcapi.SessionFactory
static int SESSION_NOT_IMPLEMENTED_CODE
          For the bcapi.SessionFactory
static java.lang.String SESSION_NOT_IMPLEMENTED_STRING
          For the bcapi.SessionFactory
static int SESSION_TO_BRIDGE_NOT_CREATED
          For the bcapi.Session
static java.lang.String SESSION_TO_BRIDGE_NOT_CREATED_STRING
          For the bcapi.SessionFactory
static int SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE
          synchronizeObject map does not exist
static java.lang.String SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE_STRING
          synchronizeObject map does not exist
static int SETPROPERTYMETHOD_NAME_MATCH_ERROR
          SetPropertyMethods Map did not match method
static java.lang.String SETPROPERTYMETHOD_NAME_MATCH_ERROR_STRING
          SetPropertyMethods Map did not match method
static int SUBSCRIBE_CMD_FAILED
          For ACOMObject
static java.lang.String SUBSCRIBE_CMD_FAILED_STRING
          For ACOMObject
static int UNEXPECTED_ARG_OBJECT_ERROR_CODE
          An object passed as an argument is of an unexpected format.
static java.lang.String UNEXPECTED_ARG_OBJECT_ERROR_STRING
          An object passed as an argument is of an unexpected format.
static int UNEXPECTED_BRIDGE_OBJECT_ERROR_CODE
          The Bridge object is Null or is of an unexpected format.
static java.lang.String UNEXPECTED_BRIDGE_OBJECT_ERROR_STRING
          The Bridge object is Null or is of an unexpected format.
static int UNEXPECTED_RESPONSE_NULL_ERROR_CODE
          Unexpected Null value found in the response to the command.
static java.lang.String UNEXPECTED_RESPONSE_NULL_ERROR_STRING
          Unexpected Null value found in the response to the command.
static int UNEXPECTED_RESPONSE_TYPE_ERROR_CODE
          Unexpected object type found in the response to a command.
static java.lang.String UNEXPECTED_RESPONSE_TYPE_ERROR_STRING
          Unexpected object type found in the response to a command.
 
Constructor Summary
ACOMException(java.lang.String message, int errorCode)
          Constructs an ACOMException with the specified error message and error code.
ACOMException(java.lang.String message, int errorCode, java.lang.Throwable cause)
          Constructs an ACOMException with the specified error message, error code and cause of the exception.
 
Method Summary
 int getErrorCode()
          Enumerated error type: 0 for no error, from 1000-1999 for bridge-generated errors, 2000-2999 for Hermes transport generated errors, 3000-3999 for Client BCAPI generated errors.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorCode

protected int errorCode
Enumerated error type: 0 for no error, from 1000-1999 for bridge-generated errors, 2000-2999 for Hermes transport generated errors, 3000-3999 for Client BCAPI generated errors. Fully redundant with getMessage() but here for easier internationalization.


NOT_YET_IMPLEMENTED_ERROR_CODE

public static final int NOT_YET_IMPLEMENTED_ERROR_CODE
BCAPI method not yet implemented.

See Also:
Constant Field Values

NOT_YET_IMPLEMENTED_ERROR_STRING

public static final java.lang.String NOT_YET_IMPLEMENTED_ERROR_STRING
BCAPI method not yet implemented.

See Also:
Constant Field Values

INVALID_OBJ_NOT_EXIST_CODE

public static final int INVALID_OBJ_NOT_EXIST_CODE
Object called no longer exists on the bridge.

See Also:
Constant Field Values

INVALID_OBJ_NOT_EXIST_STRING

public static final java.lang.String INVALID_OBJ_NOT_EXIST_STRING
Object called no longer exists on the bridge.

See Also:
Constant Field Values

INVALID_OBJ_NOT_IN_SERVICE_CODE

public static final int INVALID_OBJ_NOT_IN_SERVICE_CODE
Object called is no longer in service on the bridge.

See Also:
Constant Field Values

INVALID_OBJ_NOT_IN_SERVICE_STRING

public static final java.lang.String INVALID_OBJ_NOT_IN_SERVICE_STRING
Object called is no longer in service on the bridge.

See Also:
Constant Field Values

INVALID_OBJ_NOT_SUBSCD_CODE

public static final int INVALID_OBJ_NOT_SUBSCD_CODE
Object called is not subscribed to.

See Also:
Constant Field Values

INVALID_OBJ_NOT_SUBSCD_STRING

public static final java.lang.String INVALID_OBJ_NOT_SUBSCD_STRING
Object called is not subscribed to.

See Also:
Constant Field Values

INVALID_ARG_NULL_ERROR_CODE

public static final int INVALID_ARG_NULL_ERROR_CODE
The specified input parameter can't be Null.

See Also:
Constant Field Values

INVALID_ARG_NULL_ERROR_STRING

public static final java.lang.String INVALID_ARG_NULL_ERROR_STRING
The specified input parameter can't be Null.

See Also:
Constant Field Values

INVALID_ARG_EMPTY_ERROR_CODE

public static final int INVALID_ARG_EMPTY_ERROR_CODE
The specified input parameter can't be an empty string.

See Also:
Constant Field Values

INVALID_ARG_EMPTY_ERROR_STRING

public static final java.lang.String INVALID_ARG_EMPTY_ERROR_STRING
The specified input parameter can't be an empty string.

See Also:
Constant Field Values

INVALID_ARG_SMALL_VALUE_ERROR_CODE

public static final int INVALID_ARG_SMALL_VALUE_ERROR_CODE
The specified input parameter must be greater than the specified value.

See Also:
Constant Field Values

INVALID_ARG_SMALL_VALUE_ERROR_STRING

public static final java.lang.String INVALID_ARG_SMALL_VALUE_ERROR_STRING
The specified input parameter must be greater than the specified value.

See Also:
Constant Field Values

INVALID_ARG_BIG_VALUE_ERROR_CODE

public static final int INVALID_ARG_BIG_VALUE_ERROR_CODE
The specified input parameter must be smaller than the specified value.

See Also:
Constant Field Values

INVALID_ARG_BIG_VALUE_ERROR_STRING

public static final java.lang.String INVALID_ARG_BIG_VALUE_ERROR_STRING
The specified input parameter must be smaller than the specified value.

See Also:
Constant Field Values

INVALID_ARG_OUT_RANGE_VALUE_ERROR_CODE

public static final int INVALID_ARG_OUT_RANGE_VALUE_ERROR_CODE
The specified input parameter is out of the specified range of values.

See Also:
Constant Field Values

INVALID_ARG_OUT_RANGE_VALUE_ERROR_STRING

public static final java.lang.String INVALID_ARG_OUT_RANGE_VALUE_ERROR_STRING
The specified input parameter is out of the specified range of values.

See Also:
Constant Field Values

SESSION_NOT_IMPLEMENTED_CODE

public static final int SESSION_NOT_IMPLEMENTED_CODE
For the bcapi.SessionFactory

See Also:
Constant Field Values

SESSION_NOT_IMPLEMENTED_STRING

public static final java.lang.String SESSION_NOT_IMPLEMENTED_STRING
For the bcapi.SessionFactory

See Also:
Constant Field Values

SESSION_NOT_CREATED_CODE

public static final int SESSION_NOT_CREATED_CODE
For the bcapi.SessionFactory

See Also:
Constant Field Values

SESSION_NOT_CREATED_STRING

public static final java.lang.String SESSION_NOT_CREATED_STRING
For the bcapi.SessionFactory

See Also:
Constant Field Values

SESSION_TO_BRIDGE_NOT_CREATED

public static final int SESSION_TO_BRIDGE_NOT_CREATED
For the bcapi.Session

See Also:
Constant Field Values

SESSION_TO_BRIDGE_NOT_CREATED_STRING

public static final java.lang.String SESSION_TO_BRIDGE_NOT_CREATED_STRING
For the bcapi.SessionFactory

See Also:
Constant Field Values

SESSION_AND_BRIDGE_MUST_MATCH

public static final int SESSION_AND_BRIDGE_MUST_MATCH
For bcapi.Session

See Also:
Constant Field Values

SESSION_AND_BRIDGE_MUST_MATCH_STRING

public static final java.lang.String SESSION_AND_BRIDGE_MUST_MATCH_STRING
For bcapi.Session

See Also:
Constant Field Values

SESSION_AND_BRIDGE_EXISTS

public static final int SESSION_AND_BRIDGE_EXISTS
For bcapi.Session

See Also:
Constant Field Values

SESSION_AND_BRIDGE_EXISTS_STRING

public static final java.lang.String SESSION_AND_BRIDGE_EXISTS_STRING
For bcapi.Session

See Also:
Constant Field Values

SESSION_ALREADY_DISCONNECTED

public static final int SESSION_ALREADY_DISCONNECTED
For bcapi.Session

See Also:
Constant Field Values

SESSION_ALREADY_DISCONNECTED_STRING

public static final java.lang.String SESSION_ALREADY_DISCONNECTED_STRING
For bcapi.Session

See Also:
Constant Field Values

EXECUTE_CMD_FAILED

public static final int EXECUTE_CMD_FAILED
For ACOMObject

See Also:
Constant Field Values

EXECUTE_CMD_FAILED_STRING

public static final java.lang.String EXECUTE_CMD_FAILED_STRING
For ACOMObject

See Also:
Constant Field Values

RESPONSE_CMD_TIMED_OUT

public static final int RESPONSE_CMD_TIMED_OUT
For ACOMObject

See Also:
Constant Field Values

RESPONSE_CMD_TIMED_OUT_STRING

public static final java.lang.String RESPONSE_CMD_TIMED_OUT_STRING
For ACOMObject

See Also:
Constant Field Values

SUBSCRIBE_CMD_FAILED

public static final int SUBSCRIBE_CMD_FAILED
For ACOMObject

See Also:
Constant Field Values

SUBSCRIBE_CMD_FAILED_STRING

public static final java.lang.String SUBSCRIBE_CMD_FAILED_STRING
For ACOMObject

See Also:
Constant Field Values

SESSION_CMD_FAILED

public static final int SESSION_CMD_FAILED
For bcapi.Session

See Also:
Constant Field Values

SESSION_CMD_FAILED_STRING

public static final java.lang.String SESSION_CMD_FAILED_STRING
For bcapi.Session

See Also:
Constant Field Values

UNEXPECTED_RESPONSE_TYPE_ERROR_CODE

public static final int UNEXPECTED_RESPONSE_TYPE_ERROR_CODE
Unexpected object type found in the response to a command.

See Also:
Constant Field Values

UNEXPECTED_RESPONSE_TYPE_ERROR_STRING

public static final java.lang.String UNEXPECTED_RESPONSE_TYPE_ERROR_STRING
Unexpected object type found in the response to a command.

See Also:
Constant Field Values

UNEXPECTED_BRIDGE_OBJECT_ERROR_CODE

public static final int UNEXPECTED_BRIDGE_OBJECT_ERROR_CODE
The Bridge object is Null or is of an unexpected format.

See Also:
Constant Field Values

UNEXPECTED_BRIDGE_OBJECT_ERROR_STRING

public static final java.lang.String UNEXPECTED_BRIDGE_OBJECT_ERROR_STRING
The Bridge object is Null or is of an unexpected format.

See Also:
Constant Field Values

UNEXPECTED_RESPONSE_NULL_ERROR_CODE

public static final int UNEXPECTED_RESPONSE_NULL_ERROR_CODE
Unexpected Null value found in the response to the command.

See Also:
Constant Field Values

UNEXPECTED_RESPONSE_NULL_ERROR_STRING

public static final java.lang.String UNEXPECTED_RESPONSE_NULL_ERROR_STRING
Unexpected Null value found in the response to the command.

See Also:
Constant Field Values

UNEXPECTED_ARG_OBJECT_ERROR_CODE

public static final int UNEXPECTED_ARG_OBJECT_ERROR_CODE
An object passed as an argument is of an unexpected format.

See Also:
Constant Field Values

UNEXPECTED_ARG_OBJECT_ERROR_STRING

public static final java.lang.String UNEXPECTED_ARG_OBJECT_ERROR_STRING
An object passed as an argument is of an unexpected format.

See Also:
Constant Field Values

EXTENDED_PROPERTY_NAME_ERROR

public static final int EXTENDED_PROPERTY_NAME_ERROR
Extended Property Name Exception

See Also:
Constant Field Values

EXTENDED_PROPERTY_NAME_ERROR_STRING

public static final java.lang.String EXTENDED_PROPERTY_NAME_ERROR_STRING
Extended Property Name Exception

See Also:
Constant Field Values

EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR

public static final int EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR
Extended Property Value Type Exception

See Also:
Constant Field Values

EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING

public static final java.lang.String EXTENDED_PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING
Extended Property Value Type Exception

See Also:
Constant Field Values

EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR

public static final int EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR
Extended Property Value Type Exception

See Also:
Constant Field Values

EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING

public static final java.lang.String EXTENDED_PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING
Extended Property Value Type Exception

See Also:
Constant Field Values

PROPERTY_VALUE_TYPE_MATCH_ERROR

public static final int PROPERTY_VALUE_TYPE_MATCH_ERROR
Property Type Exception

See Also:
Constant Field Values

PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING

public static final java.lang.String PROPERTY_VALUE_TYPE_MATCH_ERROR_STRING
Property Type Exception

See Also:
Constant Field Values

PROPERTY_VALUE_TYPE_MISSING_ERROR

public static final int PROPERTY_VALUE_TYPE_MISSING_ERROR
Extended Property Value Type Exception

See Also:
Constant Field Values

PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING

public static final java.lang.String PROPERTY_VALUE_TYPE_MISSING_ERROR_STRING
Extended Property Value Type Exception

See Also:
Constant Field Values

PROPERTY_NAME_READONLY

public static final int PROPERTY_NAME_READONLY
Extended Property Value Type Exception

See Also:
Constant Field Values

PROPERTY_NAME_READONLY_STRING

public static final java.lang.String PROPERTY_NAME_READONLY_STRING
Extended Property Value Type Exception

See Also:
Constant Field Values

SETPROPERTYMETHOD_NAME_MATCH_ERROR

public static final int SETPROPERTYMETHOD_NAME_MATCH_ERROR
SetPropertyMethods Map did not match method

See Also:
Constant Field Values

SETPROPERTYMETHOD_NAME_MATCH_ERROR_STRING

public static final java.lang.String SETPROPERTYMETHOD_NAME_MATCH_ERROR_STRING
SetPropertyMethods Map did not match method

See Also:
Constant Field Values

CLASS_GETMETHOD_NAME_MATCH_ERROR

public static final int CLASS_GETMETHOD_NAME_MATCH_ERROR
SetPropertyMethods Map did not match method

See Also:
Constant Field Values

CLASS_GETMETHOD_NAME_MATCH_ERROR_STRING

public static final java.lang.String CLASS_GETMETHOD_NAME_MATCH_ERROR_STRING
SetPropertyMethods Map did not match method

See Also:
Constant Field Values

PROPERTY_NAME_ERROR

public static final int PROPERTY_NAME_ERROR
GetPropertyMethod name not in map

See Also:
Constant Field Values

PROPERTY_NAME_ERROR_STRING

public static final java.lang.String PROPERTY_NAME_ERROR_STRING
GetPropertyMethod name not in map

See Also:
Constant Field Values

PROPERTY_MAP_ERROR

public static final int PROPERTY_MAP_ERROR
synchronizeObject map does not exist

See Also:
Constant Field Values

PROPERTY_MAP_ERROR_STRING

public static final java.lang.String PROPERTY_MAP_ERROR_STRING
synchronizeObject map does not exist

See Also:
Constant Field Values

SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE

public static final int SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE
synchronizeObject map does not exist

See Also:
Constant Field Values

SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE_STRING

public static final java.lang.String SET_EXTENDED_PROPERTY_CMD_UNAVAILABLE_STRING
synchronizeObject map does not exist

See Also:
Constant Field Values

INVALID_ARG_NON_NUMERIC_VALUE_ERROR_CODE

public static final int INVALID_ARG_NON_NUMERIC_VALUE_ERROR_CODE
The specified input parameter must be numerical.

See Also:
Constant Field Values

INVALID_ARG_NON_NUMERIC_VALUE_ERROR_STRING

public static final java.lang.String INVALID_ARG_NON_NUMERIC_VALUE_ERROR_STRING
The specified input parameter must be numerical.

See Also:
Constant Field Values

INVALID_ARG_BAD_ROOM_NUMBER_ERROR_CODE

public static final int INVALID_ARG_BAD_ROOM_NUMBER_ERROR_CODE
Bad room number (i.e. not a valid conf on the bridge)

See Also:
Constant Field Values

INVALID_ARG_BAD_ROOM_NUMBER_ERROR_STRING

public static final java.lang.String INVALID_ARG_BAD_ROOM_NUMBER_ERROR_STRING
Bad room number (i.e. not a valid conf on the bridge)

See Also:
Constant Field Values
Constructor Detail

ACOMException

public ACOMException(java.lang.String message,
                     int errorCode,
                     java.lang.Throwable cause)
Constructs an ACOMException with the specified error message, error code and cause of the exception.

Parameters:
message - The error message.
errorCode - The error code.
cause - The cause of the exception.

ACOMException

public ACOMException(java.lang.String message,
                     int errorCode)
Constructs an ACOMException with the specified error message and error code.

Parameters:
message - The error message.
errorCode - The error code.
Method Detail

getErrorCode

public int getErrorCode()
Enumerated error type: 0 for no error, from 1000-1999 for bridge-generated errors, 2000-2999 for Hermes transport generated errors, 3000-3999 for Client BCAPI generated errors. Fully redundant with getMessage() but here for easier internationalization.

Returns:
the enumerated error type.

CONFIDENTIAL

Copyright © 2005-2009 Avaya. All Rights Reserved.