pfs::Exception Class Reference

General exception class used to throw exceptions from pfs library. More...

#include <pfs.h>

Inheritance diagram for pfs::Exception:

pfs::CommandLineException

List of all members.

Public Member Functions

 Exception (const char *const message)
 Creates a new exception.
 ~Exception ()
const char * getMessage ()
 Returns the description of the problem.


Detailed Description

General exception class used to throw exceptions from pfs library.

Definition at line 570 of file pfs.h.


Constructor & Destructor Documentation

pfs::Exception::Exception ( const char *const   message  )  [inline]

Creates a new exception.

Parameters:
message description of the cause for the exception. The copy of the message string is made, so it can be freed after creating Exception.

Definition at line 581 of file pfs.h.


Member Function Documentation

const char* pfs::Exception::getMessage (  )  [inline]

Returns the description of the problem.

Returns:
text description of the cause for the exception

Definition at line 593 of file pfs.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 25 17:23:48 2008 for Portable Floating-point Streams (pfstools) by  doxygen 1.5.3