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

Last change on this file since 340 was 317, checked in by Marek Kurdej, 10 years ago

TestFileLib: minor fixes. Tests pass.

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