Руководство Разработчика для Cisco Cisco Computer Telephony Integration OS 8.5
Chapter 12 Helper Classes
CCtiOsException Class (C++ and Java only)
12-32
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Syntax
bool SetValue(CCtiOsObject * pObject);
Input Parameters
pObject
A pointer to a CtiOsObject to encapsulate (e.g. CCall, CAgent, etc.)
Return Values
If the method was able to set the reference it returns true. Otherwise, it returns
false.
false.
CCtiOsException Class (C++ and Java only)
The CCtiosException class is normally used within the Arguments class. It
provides access to additional information when exceptions are thrown, such as
what parameter is in error, memory allocation failed, and so on.
provides access to additional information when exceptions are thrown, such as
what parameter is in error, memory allocation failed, and so on.
lists the available CCtiOsException class methods.
Table 12-7 CCtiOsException Class Methods
Method
Description
CCtiosException
Class constructor.
GetCode
Returns the error code that generated the exception.
GetStatus
Returns the error status that generated the exception.
GetString
Returns a text string containing the description of
the exception.
the exception.
What
Returns a text string containing the description of
the exception, the code of an error and the status.
the exception, the code of an error and the status.