Rev | Line | |
---|
[31] | 1 | /**
|
---|
| 2 | *
|
---|
[60] | 3 | * This file is part of the PACPUS framework distributed under the
|
---|
| 4 | * CECILL-C License, Version 1.0.
|
---|
| 5 | *
|
---|
| 6 | * @author Marek Kurdej
|
---|
| 7 | * @date December, 2012
|
---|
| 8 | * @version $Id$
|
---|
| 9 | * @copyright Copyright (c) UTC/CNRS Heudiasyc 2005 - 2013. All rights reserved.
|
---|
| 10 | *
|
---|
[31] | 11 | */
|
---|
[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.