Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Exception Handling

The exception handling classes. More...

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...

Detailed Description

The exception handling classes.

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();

Generated on Sat May 21 21:25:46 2005 for Socket Streams Library by  doxygen 1.4.3