com.avaya.jtapi.tsapi
Class TsapiInvalidStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.telephony.InvalidStateException
              extended by com.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
TsapiInvalidStateException(int _errorType, int _errorCode, java.lang.Object object, int type, int state)
          Constructor.
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

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


TsapiInvalidStateException

public 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 © 2006 Avaya All Rights Reserved.