/** @file * $Source: /home/cvsmanager/yoda/event/Exception.h,v $ * $Id: Exception.h,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the exceptions of Pamela. */ #include #include namespace pamela { class Exception: public std::exception { private: std::string Name; public: Exception(std::string name): Name(name) {} virtual ~Exception () throw(){ } virtual const char* what () const throw () { return Name.c_str(); } }; }