source: pacpusframework/trunk/src/PacpusLib/PacpusException.cpp@ 210

Last change on this file since 210 was 156, checked in by Marek Kurdej, 11 years ago

Added: PacpusException.

File size: 521 bytes
RevLine 
[156]1// %pacpus:license{
2// This file is part of the PACPUS framework distributed under the
3// CECILL-C License, Version 1.0.
4// %pacpus:license}
5/// @author Marek Kurdej <firstname.surname@utc.fr>
6/// @version $Id$
7
8#include <Pacpus/kernel/PacpusException.h>
9
10using namespace pacpus;
11
12PacpusException::PacpusException(const std::string & what)
13 : mWhat(what)
14{
15}
16
17PacpusException::~PacpusException() throw()
18{
19}
20
21const char * PacpusException::what() const throw()
22{
23 return mWhat.c_str();
24}
Note: See TracBrowser for help on using the repository browser.