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

Last change on this file since 59 was 59, checked in by Marek Kurdej, 12 years ago

Major: FileLib is now a shared library.
Added: FileLibConfig.h to handle dllimport/dllexport on Windows.
Note: MSVC warning C4251 is a normal thing when using an STL as a member field in a DLL-exported class.

File size: 863 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 <Pacpus/kernel/FileLibConfig.h>
15
16#include <exception>
17#include <string>
18
19namespace pacpus {
20
21class FILELIB_API DbiteException
22 : public std::exception
23{
24public:
25 /// @todo Documentation
26 DbiteException();
27 /// @todo Documentation
28 DbiteException(const char * what);
29 /// @todo Documentation
30 ~DbiteException() throw();
31
32 /// @todo Documentation
33 virtual const char * what() const throw();
34
35private:
36 std::string mWhat;
37};
38
39} // namespace pacpus
40
41#endif // DEF_PACPUS_DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.