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

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

Fixed: Unix problem with exceptions, missing #include <stdexcept>

  • 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:
[156]30 /// Ctor.
31 /// @param what Information about the exception.
[280]32 DbiteException(std::string const& what = "");
[89]33
[156]34 /// Dtor.
[284]35 virtual ~DbiteException() throw();
[89]36};
37
[280]38typedef boost::error_info<struct tag_errinfo_ios_base_open_mode, std::ios_base::openmode> errinfo_ios_base_open_mode;
39
[89]40} // namespace pacpus
41
42#endif // DEF_PACPUS_DBITEEXCEPTION_H
Note: See TracBrowser for help on using the repository browser.