ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/OpenMDException.hpp
(Generate patch)

Comparing branches/development/src/utils/OpenMDException.hpp (file contents):
Revision 1873 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 44 | Line 44 | namespace OpenMD {
44   #define UTILS_OPENMDEXCEPTION_HPP
45   namespace OpenMD {
46  
47 < class OpenMDException {
48 <    public:
49 <        OpenMDException() : msg_("") {}
50 <        OpenMDException(const std::string msg) : msg_(msg) {}
51 <        const std::string getMessage() {return msg_;}
52 <    private:
53 <
54 <        std::string msg_;
55 <
56 < };
57 <
47 >  class OpenMDException {
48 >  public:
49 >    OpenMDException() : msg_("") {}
50 >    OpenMDException(const std::string &msg) : msg_(msg) {}
51 >    const std::string getMessage() {return msg_;}
52 >  private:    
53 >    std::string msg_;
54 >    
55 >  };
56 >  
57   }
58   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines