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

Last change on this file since 61 was 60, checked in by sgosseli, 12 years ago

Write the documentation of DbiteException.

File size: 1.1 KB
Line 
1/**
2 *
3 * This file is part of the PACPUS framework distributed under the
4 * CECILL-C License, Version 1.0.
5 *
6 * @author Marek Kurdej
7 * @date December, 2012
8 * @version $Id$
9 * @copyright Copyright (c) UTC/CNRS Heudiasyc 2005 - 2013. All rights reserved.
10 *
11 */
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.