com.avaya.jtapi.tsapi
Class TsapiInvalidStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.telephony.InvalidStateException
              extended bycom.avaya.jtapi.tsapi.TsapiInvalidStateException
All Implemented Interfaces:
ITsapiException, java.io.Serializable

public final class TsapiInvalidStateException
extends InvalidStateException
implements ITsapiException

TsapiInvalidStateException extends Jtapi InvalidStateException 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.InvalidStateException
ADDRESS_OBJECT, CALL_OBJECT, CONNECTION_OBJECT, PROVIDER_OBJECT, TERMINAL_CONNECTION_OBJECT, TERMINAL_OBJECT
 
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
protected TsapiInvalidStateException(int _errorType, int _errorCode, java.lang.Object object, int type, int state)
          Constructor.
protected TsapiInvalidStateException(int _errorType, int _errorCode, java.lang.Object object, int type, int state, 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.InvalidStateException
getObject, getObjectType, getState
 
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

TsapiInvalidStateException

protected TsapiInvalidStateException(int _errorType,
                                     int _errorCode,
                                     java.lang.Object object,
                                     int type,
                                     int state)
Constructor.


TsapiInvalidStateException

protected TsapiInvalidStateException(int _errorType,
                                     int _errorCode,
                                     java.lang.Object object,
                                     int type,
                                     int state,
                                     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 © 2005 Avaya All Rights Reserved.