Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 12      Helper Classes
CCtiOsException Class (C++, Java, and .NET only)
12-36
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
Return Values
If the method was able to set the reference it returns true. Otherwise, it returns 
false.
CCtiOsException Class (C++, Java, and .NET 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.
 lists the available CCtiOsException class methods.
CCtiosException Constructor
The CCtiosException constructor initializes an object of type CCtiosException.
Syntax
C++, Java, .NET:
 CCtiosException(const char *pMsg, int iCode, int 
iStatus);
C++:
 CCtiosException(const string& rstrMsg, int iCode, int iStatus);
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.
What
Returns a text string containing the description of 
the exception, the code of an error and the status.