Last change
on this file since 69 was 66, checked in by Marek Kurdej, 12 years ago |
Documentation: file info.
|
-
Property svn:keywords
set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[62] | 1 | // This file is part of the PACPUS framework distributed under the
|
---|
| 2 | // CECILL-C License, Version 1.0.
|
---|
| 3 | //
|
---|
[66] | 4 | /// @file
|
---|
[62] | 5 | /// @author Marek Kurdej <firstname.surname@utc.fr>
|
---|
| 6 | /// @date Month, 2012
|
---|
| 7 | /// @version $Id: DbiteException.h 66 2013-01-09 16:54:11Z kurdejma $
|
---|
| 8 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
| 9 | /// @brief Brief description.
|
---|
| 10 | ///
|
---|
| 11 | /// Detailed description.
|
---|
[3] | 12 |
|
---|
[31] | 13 | #ifndef DEF_PACPUS_DBITEEXCEPTION_H
|
---|
| 14 | #define DEF_PACPUS_DBITEEXCEPTION_H
|
---|
[3] | 15 |
|
---|
[59] | 16 | #include <Pacpus/kernel/FileLibConfig.h>
|
---|
| 17 |
|
---|
[3] | 18 | #include <exception>
|
---|
| 19 | #include <string>
|
---|
| 20 |
|
---|
| 21 | namespace pacpus {
|
---|
| 22 |
|
---|
[60] | 23 | /** DbiteException
|
---|
| 24 | * @brief Exception thrown when an error manipulation a dbite file occured.
|
---|
| 25 | */
|
---|
[59] | 26 | class FILELIB_API DbiteException
|
---|
[60] | 27 | : public std::exception
|
---|
[3] | 28 | {
|
---|
| 29 | public:
|
---|
[60] | 30 | /** Ctor of DbiteException.
|
---|
| 31 | * @param what Information about the exception.
|
---|
| 32 | */
|
---|
| 33 | DbiteException(const std::string& what);
|
---|
| 34 |
|
---|
| 35 | /** Dtor of DbiteException. */
|
---|
[3] | 36 | ~DbiteException() throw();
|
---|
| 37 |
|
---|
[60] | 38 | /** Get more information about the error.
|
---|
| 39 | * @return Message containing information about the error.
|
---|
| 40 | */
|
---|
| 41 | virtual const char* what() const throw();
|
---|
[3] | 42 |
|
---|
| 43 | private:
|
---|
| 44 | std::string mWhat;
|
---|
| 45 | };
|
---|
| 46 |
|
---|
| 47 | } // namespace pacpus
|
---|
| 48 |
|
---|
[31] | 49 | #endif // DEF_PACPUS_DBITEEXCEPTION_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.