com.avaya.jtapi.tsapi
Class TsapiPlatformException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.telephony.PlatformException
                  extended by com.avaya.jtapi.tsapi.TsapiPlatformException
All Implemented Interfaces:
ITsapiException, java.io.Serializable
Direct Known Subclasses:
TsapiSocketException

public class TsapiPlatformException
extends PlatformException
implements ITsapiException

TsapiPlatformException extends Jtapi PlatformException to add implementation specific errorType and errorCode.

See ITsapiException for details on errorType and errorCode.

See Also:
Serialized Form

Field Summary
 
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
TsapiPlatformException(int _errorType, int _errorCode)
          Constructor.
TsapiPlatformException(int _errorType, int _errorCode, java.lang.String s)
          Constructor.
 
Method Summary
 int getErrorCode()
          Returns the error code.
 int getErrorType()
          Returns the error type.
 
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

TsapiPlatformException

public TsapiPlatformException(int _errorType,
                              int _errorCode)
Constructor.


TsapiPlatformException

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