unit::UnitError Class Reference

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

#include <UnitError.h>

Inheritance diagram for unit::UnitError:

Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

std::string _message


Detailed Description

exception class, base for all exceptions for units in Quantity

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

Definition at line 46 of file UnitError.h.


Constructor & Destructor Documentation

unit::UnitError::UnitError ( const std::string &  message  )  [inline]

Definition at line 49 of file UnitError.h.

virtual unit::UnitError::~UnitError (  )  [inline, virtual]

Definition at line 52 of file UnitError.h.


Member Function Documentation

virtual std::string unit::UnitError::message ( void   )  const [inline, virtual]

Definition at line 54 of file UnitError.h.

References _message.


Member Data Documentation

std::string unit::UnitError::_message [protected]

Definition at line 61 of file UnitError.h.

Referenced by message().


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

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