MultiAgentDecisionProcess
E Class Reference

E is a class that represents a basic exception. More...

#include <E.h>

Inheritance diagram for E:
[legend]

Public Member Functions

 E (const char *arg)
 Constructor with a C-style string. More...
 
 E (std::string arg)
 Constructor with an STL string. More...
 
 E (const std::stringstream &arg)
 Constructor with an STL stringstream. More...
 
void Print () const
 Prints the error message to cout. More...
 
std::string SoftPrint () const
 Returns the error message. More...
 
virtual ~E ()
 Destructor. More...
 

Public Attributes

std::string _m_error
 The error message for this particular exception. More...
 

Detailed Description

E is a class that represents a basic exception.

Constructor & Destructor Documentation

E::E ( const char *  arg)
inline

Constructor with a C-style string.

E::E ( std::string  arg)
inline

Constructor with an STL string.

E::E ( const std::stringstream &  arg)
inline

Constructor with an STL stringstream.

virtual E::~E ( )
inlinevirtual

Destructor.

Member Function Documentation

Member Data Documentation

std::string E::_m_error

The error message for this particular exception.

Referenced by SoftPrint().