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

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

Added: PacpusException - base class for all exceptions. DbiteExceptions inherits from it.
Added: PacpusLibConfig.h - dllimport/dllexport clauses separated from pacpus.h.
Update: comments.

File size: 521 bytes
Line 
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.