quantity::QuantityError Class Reference

exception class, base for all exceptions in Quantity More...

#include <QuantityError.h>

Inheritance diagram for quantity::QuantityError:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 QuantityError (const std::string &message)
virtual ~QuantityError ()
virtual std::string message () const

Protected Attributes

std::string _message


Detailed Description

exception class, base for all exceptions in Quantity

all exceptions in Quantity are derived from QuantityError; if provided with a message, this will be available after catch.

Definition at line 46 of file QuantityError.h.


Constructor & Destructor Documentation

quantity::QuantityError::QuantityError ( const std::string &  message  )  [inline]

Definition at line 49 of file QuantityError.h.

virtual quantity::QuantityError::~QuantityError (  )  [inline, virtual]

Definition at line 52 of file QuantityError.h.


Member Function Documentation

virtual std::string quantity::QuantityError::message ( void   )  const [inline, virtual]

Definition at line 54 of file QuantityError.h.

References _message.


Member Data Documentation

std::string quantity::QuantityError::_message [protected]

Definition at line 61 of file QuantityError.h.

Referenced by message().


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

Generated on Wed Apr 11 18:07:11 2012 for Quantities by  doxygen 1.5.6