Changeset 156 in pacpusframework
- Timestamp:
- Aug 1, 2013, 1:16:38 PM (11 years ago)
- Location:
- branches/2.0-beta1
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/include/Pacpus/kernel/DbiteException.h
r141 r156 6 6 /// @author Marek Kurdej <firstname.surname@utc.fr> 7 7 /// @date Month, 2012 8 /// @version $Id: DbiteException.h 87 2013-03-27 15:38:14Z morasjul$8 /// @version $Id: DbiteException.h 117 2013-06-25 11:50:46Z kurdejma $ 9 9 /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. 10 10 /// @brief Brief description. … … 16 16 17 17 #include <Pacpus/kernel/FileLibConfig.h> 18 #include <Pacpus/kernel/PacpusException.h> 18 19 19 #include <exception>20 20 #include <string> 21 21 22 22 namespace pacpus { 23 23 24 /** DbiteException 25 * @brief Exception thrown when an error manipulation a dbite file occured. 26 */ 24 /// Exception thrown when an error during manipulation a dbite file occurs. 27 25 class FILELIB_API DbiteException 28 : public std::exception26 : virtual public PacpusException 29 27 { 30 28 public: 31 /** Ctor of DbiteException. 32 * @param what Information about the exception. 33 */ 34 DbiteException(const std::string& what); 29 /// Ctor. 30 /// @param what Information about the exception. 31 DbiteException(const std::string & what); 35 32 36 / ** Dtor of DbiteException. */33 /// Dtor. 37 34 virtual ~DbiteException() throw(); 38 39 40 /** Get more information about the error.41 * @return Message containing information about the error.42 */43 virtual const char* what() const throw();44 45 private:46 std::string mWhat;47 35 }; 48 36 -
branches/2.0-beta1/src/FileLib/src/DbiteException.cpp
r89 r156 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @version $Id: DbiteException.cpp 87 2013-03-27 15:38:14Z morasjul $ 5 /// @author Marek Kurdej <firstname.surname@utc.fr> 6 /// @version $Id: DbiteException.cpp 116 2013-06-25 11:44:25Z kurdejma $ 6 7 7 8 #include <Pacpus/kernel/DbiteException.h> … … 10 11 11 12 DbiteException::DbiteException(const std::string& what) 12 : mWhat(what)13 : PacpusException(what) 13 14 { 14 15 } … … 17 18 { 18 19 } 19 20 const char* DbiteException::what() const throw()21 {22 return mWhat.c_str();23 } -
branches/2.0-beta1/src/PacpusLib/CMakeLists.txt
r155 r156 58 58 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h 59 59 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusApplication.h 60 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusException.h 60 61 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h 61 62 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h … … 75 76 ./Log.cpp 76 77 ./PacpusApplication.cpp 78 ./PacpusException.cpp 77 79 ./XmlComponentConfig.cpp 78 80 ./XmlConfigFile.cpp
Note:
See TracChangeset
for help on using the changeset viewer.