MlpException Class Reference

Base exception class. More...

#include <MlpException.hpp>

Inheritance diagram for MlpException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MlpException (std::string)
 Constructor.
virtual ~MlpException ()
 Destructor.
virtual std::string getMessage ()
 Getter for error message.

Protected Attributes

std::string _message

Detailed Description

Base exception class.

This class is base exception for all other MLP exceptions. It contains _message string with error. Use this class to catch all other MLP exceptions.


Constructor & Destructor Documentation

MlpException::MlpException ( std::string  message  ) 

Constructor.

Constructor

MlpException constructor sets the error message.

MlpException::~MlpException (  )  [virtual]

Destructor.

destructor

MlpException destructor.


Member Function Documentation

std::string MlpException::getMessage (  )  [virtual]

Getter for error message.

Getter for error message

MlpException error message getter.

Returns:
Error message in form of std::string.

Reimplemented in MlpOutOfMemoryException, MlpParseException, and MlpXmlException.


Member Data Documentation

std::string MlpException::_message [protected]

Error message


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

Generated on Tue Jan 19 10:25:56 2010 for "MLP Library" by  doxygen 1.6.1