auexcept.h

Go to the documentation of this file.
00001 /***************************************************************************/
00020 #ifndef AURESERVOIR_EXCEPTION_H__
00021 #define AURESERVOIR_EXCEPTION_H__
00022 
00023 #include <string>
00024 
00025 namespace aureservoir
00026 {
00027 
00034 class AUExcept
00035 {
00036  protected:
00038   std::string message_;
00039 
00040  public:
00042   AUExcept(const std::string &message) { message_ = message; }
00043   virtual ~AUExcept() { }
00044 
00046   virtual std::string what() { return message_; }
00047 };
00048 
00049 } // end of namespace aureservoir
00050 
00051 #endif // AURESERVOIR_EXCEPTION_H__

Generated on Wed Mar 12 21:16:05 2008 for aureservoir by  doxygen 1.5.3