psocksxx
1.0.0
|
Socket timeout exception. More...
#include <socktimeoutexception.h>
Public Member Functions | |
socktimeoutexception (const char *message) throw () | |
constructor More... | |
socktimeoutexception (const timeval *t_val, const char *method=0) throw () | |
constructor More... | |
virtual | ~socktimeoutexception () throw () |
destructor | |
![]() | |
sockexception (const char *message=0) throw () | |
constructor More... | |
virtual | ~sockexception () throw () |
destructor | |
const char * | what () const throw () |
Returns exception message. More... | |
Additional Inherited Members | |
![]() | |
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.