Cisco Cisco Computer Telephony Integration Option 10.5 Developer's Guide

Page of 490
   
12-27
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 12      Helper Classes
CCtiOsException Class (C++, Java, and .NET only)
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.
Syntax
C++:
 
const char* GetString();
Java, .NET:   
String GetString();