com.avaya.jtapi.tsapi
Interface ITsapiException

All Known Implementing Classes:
TsapiInvalidArgumentException, TsapiInvalidPartyException, TsapiInvalidStateException, TsapiMethodNotSupportedException, TsapiPlatformException, TsapiPrivilegeViolationException, TsapiProviderUnavailableException, TsapiResourceUnavailableException

public interface ITsapiException

The ITsapiException interface adds an errorType and errorCode to all Jtapi exceptions. When the errorType is ACS or CSTA, the errorCode will contain the Tsapi ACS or CSTA error code which is documented in the Troubleshooting section of the Telephony Services Administration and Maintenance document (netmangd.pdf).


Field Summary
static int ACS
          Error Type of ACS.
static int CSTA
          Error Type of CSTA.
static int EC_INVALID_CONF
          Error Code implying confirmation is invalid.
static int EC_NORMAL
          Error Code of NORMAL.
static int EC_PROVIDER_OUT_OF_SERVICE
          Error Code implying Provider is OUT_OF_SERVICE.
static int INTERNAL
          Failure is internal to this Jtapi implementation.
static int JTAPI
          Failed to meet some Jtapi condition.
static int NORMAL
          Error Type of Normal.
 
Method Summary
 int getErrorCode()
          Returns the error code.
 int getErrorType()
          Returns the error type.
 

Field Detail

NORMAL

public static final int NORMAL
Error Type of Normal.

See Also:
Constant Field Values

ACS

public static final int ACS
Error Type of ACS.

See Also:
Constant Field Values

CSTA

public static final int CSTA
Error Type of CSTA.

See Also:
Constant Field Values

JTAPI

public static final int JTAPI
Failed to meet some Jtapi condition.

See Also:
Constant Field Values

INTERNAL

public static final int INTERNAL
Failure is internal to this Jtapi implementation.

See Also:
Constant Field Values

EC_NORMAL

public static final int EC_NORMAL
Error Code of NORMAL.

See Also:
Constant Field Values

EC_INVALID_CONF

public static final int EC_INVALID_CONF
Error Code implying confirmation is invalid.

See Also:
Constant Field Values

EC_PROVIDER_OUT_OF_SERVICE

public static final int EC_PROVIDER_OUT_OF_SERVICE
Error Code implying Provider is OUT_OF_SERVICE.

See Also:
Constant Field Values
Method Detail

getErrorType

public int getErrorType()
Returns the error type.


getErrorCode

public int getErrorCode()
Returns the error code.



Copyright © 2005 Avaya All Rights Reserved.