- Timestamp:
- Jan 9, 2013, 12:38:31 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/DbiteException.h
r59 r60 1 1 /** 2 2 * 3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0. 4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved. 5 * 6 * See the LICENSE file for more information or a copy at: 7 * http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt 8 * 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 * 9 11 */ 10 12 … … 19 21 namespace pacpus { 20 22 23 /** DbiteException 24 * @brief Exception thrown when an error manipulation a dbite file occured. 25 */ 21 26 class FILELIB_API DbiteException 22 27 : public std::exception 23 28 { 24 29 public: 25 /// @todo Documentation 26 DbiteException(); 27 /// @todo Documentation 28 DbiteException(const char * what); 29 /// @todo Documentation 30 /** Ctor of DbiteException. 31 * @param what Information about the exception. 32 */ 33 DbiteException(const std::string& what); 34 35 /** Dtor of DbiteException. */ 30 36 ~DbiteException() throw(); 31 37 32 /// @todo Documentation 33 virtual const char * what() const throw(); 38 /** Get more information about the error. 39 * @return Message containing information about the error. 40 */ 41 virtual const char* what() const throw(); 34 42 35 43 private: -
trunk/src/FileLib/src/DbiteException.cpp
r31 r60 13 13 using namespace pacpus; 14 14 15 DbiteException::DbiteException() 16 { 17 } 18 19 DbiteException::DbiteException(const char * what) 15 DbiteException::DbiteException(const std::string& what) 20 16 : mWhat(what) 21 17 { … … 26 22 } 27 23 28 const char 24 const char* DbiteException::what() const throw() 29 25 { 30 26 return mWhat.c_str();
Note:
See TracChangeset
for help on using the changeset viewer.