Public Member Functions | Private Member Functions | Private Attributes
LABUST::MICROSTRAIN::MicrostrainException Class Reference

#include <MicrostrainException.hpp>

List of all members.

Public Member Functions

void append (const std::string &msg)
 MicrostrainException (const std::string &error_msg) throw ()
const char * what () const throw ()
virtual ~MicrostrainException () throw ()

Private Member Functions

 MicrostrainException ()

Private Attributes

std::string error_msg

Detailed Description

The MicrostrainException class is used for error reporting inside the microstrain library. It also allow for throw-catch mode of error handling and reporting.

The method MicrostrainException::append is supplied for extending multiple the error message through multiple throw-catch statements.

Definition at line 23 of file MicrostrainException.hpp.


Constructor & Destructor Documentation

MicrostrainException::MicrostrainException ( const std::string &  error_msg) throw () [explicit]

Alternative constructor. This method never throws.

Parameters:
error_msgThis is the additional error message to help in localization.

Definition at line 11 of file MicrostrainException.cpp.

Generic destructor. This method never throws.

Definition at line 15 of file MicrostrainException.cpp.

The empty constructor is hidden.


Member Function Documentation

void LABUST::MICROSTRAIN::MicrostrainException::append ( const std::string &  msg) [inline]

Append the additional message to the current error_msg.

Parameters:
msgThe message to be appended.

Definition at line 46 of file MicrostrainException.hpp.

const char * MicrostrainException::what ( ) const throw ()

Returns the error message of the object. This method never throws.

Definition at line 17 of file MicrostrainException.cpp.


Member Data Documentation

The supplied error message.

Definition at line 46 of file MicrostrainException.hpp.


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


acoustic_vr
Author(s):
autogenerated on Fri Feb 7 2014 11:37:09