Last change
on this file since 297 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
|
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 |
|
---|
23 | namespace pacpus {
|
---|
24 |
|
---|
25 | /// Exception thrown when an error during manipulation a dbite file occurs.
|
---|
26 | class FILELIB_API DbiteException
|
---|
27 | : virtual public PacpusException
|
---|
28 | {
|
---|
29 | public:
|
---|
30 | /// Ctor.
|
---|
31 | /// @param what Information about the exception.
|
---|
32 | DbiteException(std::string const& what = "");
|
---|
33 |
|
---|
34 | /// Dtor.
|
---|
35 | virtual ~DbiteException() throw();
|
---|
36 | };
|
---|
37 |
|
---|
38 | typedef boost::error_info<struct tag_errinfo_ios_base_open_mode, std::ios_base::openmode> errinfo_ios_base_open_mode;
|
---|
39 |
|
---|
40 | } // namespace pacpus
|
---|
41 |
|
---|
42 | #endif // DEF_PACPUS_DBITEEXCEPTION_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.