Classes | |
| class | ss::resolver_exception |
| Thrown to indicate an address resolution error. More... | |
| class | ss::socket_exception |
| Thrown to indicate a socket operation error. More... | |
| class | ss::exception |
| Base class for all library exceptions. More... | |
These classes are thrown by their respective subsystems when an error occurs.
Features of the exception classes:
Using the exception handling classes:
int result = read(socket, buffer, length, 0); if (result == -1) throw socket_exception();
1.4.3