mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
47 lines
1.0 KiB
C++
47 lines
1.0 KiB
C++
/*****************************************************************************
|
|
*
|
|
* Atmel Corporation
|
|
*
|
|
* File : ErrorMsg.cpp
|
|
* Compiler : Dev-C++ 4.9.8.0 - http://bloodshed.net/dev/
|
|
* Revision : $Revision: 1163 $
|
|
* Date : $Date: 2006-08-02 15:38:16 +0200 (on, 02 aug 2006) $
|
|
* Updated by : $Author: ohlia $
|
|
*
|
|
* Support mail : avr@atmel.com
|
|
*
|
|
* Target platform : Win32
|
|
*
|
|
* AppNote : AVR911 - AVR Open-source Programmer
|
|
*
|
|
* Description : A class providing a container for general error messages. This
|
|
* class can be thrown as an exception.
|
|
*
|
|
*
|
|
****************************************************************************/
|
|
#include "ErrorMsg.hpp"
|
|
|
|
|
|
ErrorMsg::ErrorMsg( const string & _message ) :
|
|
message( _message )
|
|
{
|
|
// No code here.
|
|
}
|
|
|
|
|
|
/* Destructor */
|
|
ErrorMsg::~ErrorMsg()
|
|
{
|
|
// No code here.
|
|
}
|
|
|
|
|
|
/* Get message */
|
|
const string & ErrorMsg::What()
|
|
{
|
|
return message;
|
|
}
|
|
|
|
/* end of file */
|
|
|