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

Last change on this file since 378 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
RevLine 
[89]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
[156]8/// @version $Id: DbiteException.h 117 2013-06-25 11:50:46Z kurdejma $
[89]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>
[156]18#include <Pacpus/kernel/PacpusException.h>
[89]19
[280]20#include <ios>
[89]21#include <string>
22
23namespace pacpus {
24
[156]25/// Exception thrown when an error during manipulation a dbite file occurs.
[89]26class FILELIB_API DbiteException
[156]27 : virtual public PacpusException
[89]28{
29public:
[317]30 DbiteException(char const* what);
31
[156]32 /// Ctor.
33 /// @param what Information about the exception.
[280]34 DbiteException(std::string const& what = "");
[89]35
[156]36 /// Dtor.
[284]37 virtual ~DbiteException() throw();
[89]38};
39
[280]40typedef boost::error_info<struct tag_errinfo_ios_base_open_mode, std::ios_base::openmode> errinfo_ios_base_open_mode;
41
[89]42} // namespace pacpus
43
44#endif // DEF_PACPUS_DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.