DataFormatException Class Reference

An exception indicating a data format error. More...

#include <DataFormatException.h++>

Inheritance diagram for DataFormatException:

Inheritance graph
[legend]
Collaboration diagram for DataFormatException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DataFormatException (String message=String::empty)
 Construct a new DataFormatException 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.
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

An exception indicating a data format error.

Author:
Mark Lindner

Constructor & Destructor Documentation

Construct a new DataFormatException 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.

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

Write a textual representation of the exception to a stream.

Reimplemented from IOException.


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:08 2010 for libcommonc++ by  doxygen 1.5.9