Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::ExceptionNames Class Reference

#include <texnames.h>

Inheritance diagram for SmartSockets::ExceptionNames::

SmartSockets::Exception List of all members.

Static Public Methods

const char * getErrorString (int4 ssErrNum)
void setErrorString (int4 ssErrNum, const char *errStr)

Detailed Description

Class used to create or modify the string associated with SmartSockets error numbers. This class will be used to create any C++ specific exception error codes, or to customize error messages for existing error codes.


Member Function Documentation

const char* SmartSockets::ExceptionNames::getErrorString int4    ssErrNum [static]
 

Gets an error string based on what the SmartSockets error code was set to. This method will have similar functionality to TutErrNumToStr().

Parameters:
ssErrNum  the SmartSockets error number.
Returns:
the string associated with the SmartSockets Error.

void SmartSockets::ExceptionNames::setErrorString int4    ssErrNum,
const char *    errStr
[static]
 

Creates an error string associated with the given SmartSockets error code. This method will have similar functionality to TutErrStrCreate().

Parameters:
ssErrNum  the SmartSockets error number.
errStr  the string associated with the error code.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:55 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001