/* * This file is part of the Cforall project * * $Id: UnimplementedError.h,v 1.1 2002/09/02 20:31:53 rcbilson Exp $ * */ #ifndef COMMON_UNIMPLEMENTEDERROR_H #define COMMON_UNIMPLEMENTEDERROR_H #include class UnimplementedError : public std::exception { public: UnimplementedError(); UnimplementedError( std::string what ) : what( what ) {} ~UnimplementedError() throw () {} std::string get_what() const { return what; } void set_what( std::string newValue ) { what = newValue; } private: std::string what; }; #endif /* #ifndef COMMON_UNIMPLEMENTEDERROR_H */