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 |
|
---|
10 | using namespace pacpus;
|
---|
11 |
|
---|
12 | PacpusException::PacpusException(const std::string & what)
|
---|
13 | : mWhat(what)
|
---|
14 | {
|
---|
15 | }
|
---|
16 |
|
---|
17 | PacpusException::~PacpusException() throw()
|
---|
18 | {
|
---|
19 | }
|
---|
20 |
|
---|
21 | const char * PacpusException::what() const throw()
|
---|
22 | {
|
---|
23 | return mWhat.c_str();
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.