Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
12-33
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 12      Helper Classes
CCtiOsException Class (C++ and Java only)
CCtiosException Constructor
The CCtiosException constructor initializes an object of type CCtiosException.
Syntax
CCtiosException(const char *pMsg, int iCode, int iStatus);
CCtiosException(const string& rstrMsg, int iCode, int iStatus);
Input Parameters
pMsg
Pointer to string that holds a description of an error.
iCode
Number that identifies an error.
iStatus
Status of an error.
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++ and Java:
 int GetCode();