Changeset 116 in pacpusframework for trunk/include/Pacpus/kernel/DbiteException.h
- Timestamp:
- 06/25/13 13:44:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/DbiteException.h
r114 r116 16 16 17 17 #include <Pacpus/kernel/FileLibConfig.h> 18 #include <Pacpus/kernel/PacpusException.h> 18 19 19 20 #include <exception> 20 21 #include <string> 21 22 22 #ifdef _MSC_VER23 # pragma warning(push)24 # pragma warning(disable: 4251)25 #endif // _MSC_VER26 27 23 namespace pacpus { 28 24 29 /** DbiteException 30 * @brief Exception thrown when an error manipulation a dbite file occured. 31 */ 25 /// DbiteException 26 /// @brief Exception thrown when an error manipulation a dbite file occured. 32 27 class FILELIB_API DbiteException 33 : public std::exception28 : virtual public PacpusException 34 29 { 35 30 public: 36 /** Ctor of DbiteException. 37 * @param what Information about the exception. 38 */ 39 DbiteException(const std::string& what); 31 /// Ctor. 32 /// @param what Information about the exception. 33 DbiteException(const std::string & what); 40 34 41 / ** Dtor of DbiteException. */35 /// Dtor. 42 36 virtual ~DbiteException() throw(); 43 44 45 /** Get more information about the error.46 * @return Message containing information about the error.47 */48 virtual const char* what() const throw();49 50 51 private:52 std::string mWhat;53 37 }; 54 38 55 39 } // namespace pacpus 56 40 57 #ifdef _MSC_VER58 # pragma warning(pop)59 #endif // _MSC_VER60 61 41 #endif // DEF_PACPUS_DBITEEXCEPTION_H
Note:
See TracChangeset
for help on using the changeset viewer.