diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-07 18:42:45 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-07 18:42:45 +0000 |
commit | ab7a2112f96bb48ee2713ada4c9ce73322cf3cba (patch) | |
tree | 44f229f1c011fc135571849c386f78bbb5a9af48 /exception.h | |
parent | 9508850d788d905b21cd2622b22cb76e80cf34ca (diff) | |
download | vdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.gz vdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.bz2 |
- simplified error handling
- moved error_widget to error.ecpp as subcomponent
- introduced error handling where necessary
- moved creation of timer settings string from page to code
- added redirect to edit_timer.ecpp after saving a timer
Diffstat (limited to 'exception.h')
-rw-r--r-- | exception.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/exception.h b/exception.h index 183ba8c..da30dc7 100644 --- a/exception.h +++ b/exception.h @@ -8,15 +8,8 @@ namespace vdrlive { class HtmlError: public std::runtime_error { public: - HtmlError( std::string const& title, std::string const& message ): std::runtime_error( message ), m_title( title ), m_message( message ) {} + HtmlError( std::string const& message ): std::runtime_error( message ) {} virtual ~HtmlError() throw() {} - - std::string const& GetTitle() const { return m_title; } - std::string const& GetMessage() const { return m_message; } - -private: - std::string m_title; - std::string m_message; }; } // namespace vdrlive |