SocketIOException Class Reference

A general-purose socket I/O exception. More...

#include <SocketException.h++>

Inheritance diagram for SocketIOException:

Inheritance graph
[legend]
Collaboration diagram for SocketIOException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SocketIOException (String message=String::empty)
 Construct a new SocketIOException with an optional cause message.
virtual void write (std::ostream &stream) const
 Write a textual representation of the exception to a stream.
String getMessage () const throw ()
 Get the message associated with the exception.
const char * what () const throw ()
 Get the message associated with the exception.
String toString () const
 Get a textual representation of the exception as a String.

Protected Member Functions

void _write (std::ostream &stream, const char *name) const

Protected Attributes

String _message
 The cause message.


Detailed Description

A general-purose socket I/O exception.

Author:
Mark Lindner

Constructor & Destructor Documentation

SocketIOException ( String  message = String::empty  ) 

Construct a new SocketIOException with an optional cause message.


Member Function Documentation

void _write ( std::ostream &  stream,
const char *  name 
) const [protected, inherited]

String getMessage (  )  const throw () [inline, inherited]

Get the message associated with the exception.

String toString (  )  const [inline, inherited]

Get a textual representation of the exception as a String.

const char* what (  )  const throw () [inline, inherited]

Get the message associated with the exception.

virtual void write ( std::ostream &  stream  )  const [inline, virtual]

Write a textual representation of the exception to a stream.

Reimplemented from SocketException.


Member Data Documentation

String _message [protected, inherited]

The cause message.


The documentation for this class was generated from the following files:

Generated on Sat Apr 17 23:03:10 2010 for libcommonc++ by  doxygen 1.5.9