|
psocksxx 1.1.1
|
Socket timeout exception. More...
#include <socktimeoutexception.h>
Public Member Functions | |
| socktimeoutexception (const char *message) throw () | |
| constructor | |
| socktimeoutexception (const timeval *t_val, const char *method=0) throw () | |
| constructor | |
| virtual | ~socktimeoutexception () throw () |
| destructor | |
Public Member Functions inherited from psocksxx::sockexception | |
| sockexception (const char *message=0) throw () | |
| constructor | |
| virtual | ~sockexception () throw () |
| destructor | |
| const char * | what () const throw () |
| Returns exception message. | |
Additional Inherited Members | |
Protected Attributes inherited from psocksxx::sockexception | |
| std::string | _message |
| int | _errno |
| std::string | _sys_msg |
Socket timeout exception.
This acts as the socket timeout exception class.
| psocksxx::socktimeoutexception::socktimeoutexception | ( | const char * | message | ) | |
| throw | ( | ||||
| ) | |||||
constructor
| message | exception message |
Create an timeout exception instance with the passed in exception message.
| psocksxx::socktimeoutexception::socktimeoutexception | ( | const timeval * | t_val, |
| const char * | method = 0 |
||
| ) | |||
| throw | ( | ||
| ) | |||
constructor
| t_val | timed-out value |
| method | action/method that timed-out |
This will take the passed in timed-out value and the action to construct the exception message.