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

Last change on this file since 23 was 3, checked in by sgosseli, 12 years ago
  • Add the existing Pacpus files from pacpusdev and pacpuscore.
  • Provide a clean build system based on multiple CMake files.
File size: 612 bytes
Line 
1// Copyright Marek Kurdej 2010 - 2012.
2// Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
3// See accompanying file LICENSE_1_0.txt or copy at
4// http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
5
6#ifndef DBITEEXCEPTION_H
7#define DBITEEXCEPTION_H
8
9#include <exception>
10#include <string>
11
12namespace pacpus {
13
14class DbiteException
15 : public std::exception
16{
17public:
18 DbiteException();
19 DbiteException(const char * what);
20 ~DbiteException() throw();
21
22 virtual const char * what() const throw();
23
24private:
25 std::string mWhat;
26};
27
28} // namespace pacpus
29
30#endif // DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.