SystemException Class Reference

A system-level exception. More...

#include <SystemException.h++>

Inheritance diagram for SystemException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SystemException (String message=String::empty)
 Construct a new SystemException with an optional cause message.
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.
virtual 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 Attributes

String _message
 The cause message.

Detailed Description

A system-level exception.

Author:
Mark Lindner

Constructor & Destructor Documentation

SystemException ( String  message = String::empty  ) 

Construct a new SystemException with an optional cause message.


Member Function Documentation

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.

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

Get the message associated with the exception.

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

Write a textual representation of the exception to a stream.

Reimplemented from Exception.


Member Data Documentation

String _message [protected, inherited]

The cause message.


The documentation for this class was generated from the following files:
Generated on Sat Nov 26 16:49:09 2011 for libcommonc++ by  doxygen 1.6.3