ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/posix.hpp
(Generate patch)

Comparing Common/posix.hpp (file contents):
Revision 14 by douglas, 2007-05-14T18:24:34-07:00 vs.
Revision 25 by douglas, 2008-02-09T01:39:22-08:00

# Line 25 | Line 25 | class Error : public std::exception
25   public:
26          Error();
27          virtual ~Error() throw() {}
28
29        virtual int GetCode() const { return code; }
30        virtual std::string GetMessage() const { return message; }
28          virtual const char *what() const throw() { return message; }
29   };
30  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines