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