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

Last change on this file since 64 was 64, checked in by Marek Kurdej, 11 years ago

Modified property: added svn:keywords=Id.

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1// This file is part of the PACPUS framework distributed under the
2// CECILL-C License, Version 1.0.
3//
4/// @author Marek Kurdej <firstname.surname@utc.fr>
5/// @date Month, 2012
6/// @version $Id: DbiteException.h 64 2013-01-09 16:41:12Z kurdejma $
7/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
8/// @brief Brief description.
9///
10/// Detailed description.
11
12#ifndef DEF_PACPUS_DBITEEXCEPTION_H
13#define DEF_PACPUS_DBITEEXCEPTION_H
14
15#include <Pacpus/kernel/FileLibConfig.h>
16
17#include <exception>
18#include <string>
19
20namespace pacpus {
21
22/** DbiteException
23 * @brief Exception thrown when an error manipulation a dbite file occured.
24 */
25class FILELIB_API DbiteException
26 : public std::exception
27{
28public:
29 /** Ctor of DbiteException.
30 * @param what Information about the exception.
31 */
32 DbiteException(const std::string& what);
33
34 /** Dtor of DbiteException. */
35 ~DbiteException() throw();
36
37 /** Get more information about the error.
38 * @return Message containing information about the error.
39 */
40 virtual const char* what() const throw();
41
42private:
43 std::string mWhat;
44};
45
46} // namespace pacpus
47
48#endif // DEF_PACPUS_DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.