#include <tex.h>
Inheritance diagram for SmartSockets::Exception::
Public Methods | |
Exception () | |
Exception (int4 errNum) | |
virtual | ~Exception () throw () |
virtual const char * | what () const throw () |
int4 | getErrNum () const |
int4 | getOSErrNum () const |
int4 | getSocketErrNum () const |
int4 | getCErrNum () const |
|
This constructor will be used to create an exception using TutErrNumGet(), TutErrNumGetOs(), TutErrNumGetSocket(), TutErrNumGetC to populate the error numbers and set the error string based on the error number. |
|
This constructor will be used to create an exception using the arguments to populate the error numbers. This is used for any exceptions created specifically for C++ that don't have a C equivalent SmartSockets error number. Note that the ExceptionNames class should be used to associate any new C++ specific error codes with its string. The string returned by the what() method will be obtained that way.
|
|
Destructor |
|
Gets the C code set when the exception was thrown. |
|
Gets the SmartSockets error code set when the exception was thrown. |
|
Gets the Operating System error code set when the exception was thrown. |
|
Gets the Socket error code set when the exception was thrown. |
|
Gets an error string based on what the SmartSockets error code was set to. To create new error codes, please use the ExceptionNames class.
|