Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 508
   
12-27
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 12      Helper Classes
CCtiOsException Class (C++, Java, and .NET only)
rstrMsg
An STL string that holds a description of an error.
Return Values
None.
GetCode
The GetCode method returns the error code that generated the exception.
Syntax
C++, Java, .NET:
 int GetCode();
Parameters
None.
Return Values
Returns an integer error code that generated the exception. The errors are described in the Cilerror.h 
include file – see also 
GetStatus 
The GetStatus method returns the error status that generated the exception.
Syntax
C++, Java, and .NET: 
int GetStatus ();
Parameters
None.
Return Values
Returns an integer error status that generated the exception.
GetString
The GetString method returns a text string containing the description of the exception.