source: trunk/lib/utility/Exception.h @ 389

Last change on this file since 389 was 389, checked in by Peter, 17 years ago

moved kernel to regression namespace and tried to fix some dox issues

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 487 bytes
Line 
1// $Id: Exception.h 389 2005-08-15 11:37:07Z peter $
2
3#ifndef _theplu_utility_exception_
4#define _theplu_utility_exception_
5
6#include <stdexcept>
7#include <string>
8
9namespace theplu {
10namespace utility {
11
12  ///
13  /// @brief Class
14  ///
15  /// @todo document
16  ///
17  class IO_error : public std::runtime_error
18  {
19  public:
20    IO_error(void) throw() : std::runtime_error("IO_error:") {}
21    IO_error(std::string& message) throw()
22      : std::runtime_error("IO_error: " + message) {}
23  };
24
25
26}} // of namespace utility and namespace theplu
27
28#endif
29
30
Note: See TracBrowser for help on using the repository browser.