/* (c) 1999-2000 Tino Schwarze, see COPYING for details */
/*
 * basic exception handling (exception with an error message)
 */

#include "cMsgException.hh"	// aquire class cException

/**
 * default constructor
 	*/
cMsgException::cMsgException () 
{
};

/**
 * constructor which takes an explanation
 	*/
cMsgException::cMsgException (char *m)
: message(m) 
{
}

/**
 * destructor
 	*/
cMsgException::~cMsgException () 
{
}
    
/**
 * return error message
 	* @return explanation of error
	*/
const char *cMsgException::Explanation () const 
{
	return message.c_str ();
}
