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