source: pacpusframework/trunk/include/Pacpus/kernel/DbiteException.h@ 52

Last change on this file since 52 was 31, checked in by sgosseli, 12 years ago

Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.

File size: 697 bytes
Line 
1/**
2 *
3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
5 *
6 * See the LICENSE file for more information or a copy at:
7 * http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
8 *
9 */
10
11#ifndef DEF_PACPUS_DBITEEXCEPTION_H
12#define DEF_PACPUS_DBITEEXCEPTION_H
13
14#include <exception>
15#include <string>
16
17namespace pacpus {
18
19class DbiteException
20 : public std::exception
21{
22public:
23 DbiteException();
24 DbiteException(const char * what);
25 ~DbiteException() throw();
26
27 virtual const char * what() const throw();
28
29private:
30 std::string mWhat;
31};
32
33} // namespace pacpus
34
35#endif // DEF_PACPUS_DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.