com.avaya.jtapi.tsapi
Class TsapiPrivilegeViolationException

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

public final class TsapiPrivilegeViolationException
extends PrivilegeViolationException
implements ITsapiException

TsapiPrivilegeViolationException extends PrivilegeViolationException to add acs / csta error codes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.telephony.PrivilegeViolationException
DESTINATION_VIOLATION, ORIGINATOR_VIOLATION, UNKNOWN_VIOLATION
 
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
TsapiPrivilegeViolationException(int _errorType, int _errorCode, int type)
          Constructor.
TsapiPrivilegeViolationException(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.PrivilegeViolationException
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

TsapiPrivilegeViolationException

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


TsapiPrivilegeViolationException

public TsapiPrivilegeViolationException(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.