com.avaya.jtapi.tsapi
Class TsapiProviderUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.telephony.ProviderUnavailableException
                  extended by com.avaya.jtapi.tsapi.TsapiProviderUnavailableException
All Implemented Interfaces:
ITsapiException, java.io.Serializable

public final class TsapiProviderUnavailableException
extends ProviderUnavailableException
implements ITsapiException

TsapiProviderUnavailableException extends Jtapi ProviderUnavailableException to add implementation specific errorType and errorCode.

See ITsapiException for details on errorType and errorCode.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.telephony.ProviderUnavailableException
CAUSE_INVALID_ARGUMENT, CAUSE_INVALID_SERVICE, CAUSE_NOT_IN_SERVICE, CAUSE_UNKNOWN
 
Fields inherited from interface com.avaya.jtapi.tsapi.ITsapiException
ACS, CSTA, EC_INVALID_CONF, EC_NORMAL, EC_PROVIDER_OUT_OF_SERVICE, INTERNAL, JTAPI, NORMAL
 
Constructor Summary
TsapiProviderUnavailableException(int _errorType, int _errorCode)
          Constructor.
TsapiProviderUnavailableException(int _errorType, int _errorCode, java.lang.String s)
          Constructor.
TsapiProviderUnavailableException(int cause, java.lang.String s)
          Constructor.
 
Method Summary
 int getErrorCode()
          Returns the error code.
 int getErrorType()
          Returns the error type.
 
Methods inherited from class javax.telephony.ProviderUnavailableException
getReason
 
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
 

Constructor Detail

TsapiProviderUnavailableException

public TsapiProviderUnavailableException(int _errorType,
                                         int _errorCode)
Constructor.


TsapiProviderUnavailableException

public TsapiProviderUnavailableException(int _errorType,
                                         int _errorCode,
                                         java.lang.String s)
Constructor.


TsapiProviderUnavailableException

public TsapiProviderUnavailableException(int cause,
                                         java.lang.String s)
Constructor.

Method Detail

getErrorType

public int getErrorType()
Returns the error type.

Specified by:
getErrorType in interface ITsapiException

getErrorCode

public int getErrorCode()
Returns the error code.

Specified by:
getErrorCode in interface ITsapiException


Copyright © 2006 Avaya All Rights Reserved.