com.avaya.jtapi.tsapi
Class TsapiInvalidPartyException

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

public final class TsapiInvalidPartyException
extends InvalidPartyException
implements ITsapiException

TsapiInvalidPartyException extends Jtapi InvalidPartyException 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.InvalidPartyException
DESTINATION_PARTY, ORIGINATING_PARTY, UNKNOWN_PARTY
 
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
TsapiInvalidPartyException(int _errorType, int _errorCode, int type)
          Constructor.
TsapiInvalidPartyException(int _errorType, int _errorCode, int type, 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.InvalidPartyException
getType
 
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

TsapiInvalidPartyException

public TsapiInvalidPartyException(int _errorType,
                                  int _errorCode,
                                  int type)
Constructor.


TsapiInvalidPartyException

public TsapiInvalidPartyException(int _errorType,
                                  int _errorCode,
                                  int type,
                                  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.