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

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

Documentation: file info.

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