libcommonc++
0.7
|
A general-purpose socket exception. More...
#include <SocketException.h++>
Public Member Functions | |
SocketException (String message=String::empty) | |
Construct a new SocketException with an optional cause message. More... | |
virtual void | write (std::ostream &stream) const |
Write a textual representation of the exception to a stream. More... | |
String | getMessage () const |
Get the message associated with the exception. More... | |
virtual const char * | what () const throw () |
Get the message associated with the exception. More... | |
String | toString () const |
Get a textual representation of the exception as a String. More... | |
Protected Attributes | |
String | _message |
The cause message. More... | |
CString | _what |
A general-purpose socket exception.
SocketException | ( | String | message = String::empty | ) |
Construct a new SocketException with an optional cause message.
|
inlineinherited |
Get the message associated with the exception.
|
inlineinherited |
Get a textual representation of the exception as a String.
|
virtualinherited |
Get the message associated with the exception.
|
inlinevirtual |
Write a textual representation of the exception to a stream.
Reimplemented from IOException.
Reimplemented in AddressInUseException, ConnectionRefusedException, and SocketIOException.
|
protectedinherited |
The cause message.
|
mutableprotectedinherited |