Changeset 738 for trunk/yat/utility
- Timestamp:
- Jan 8, 2007, 12:08:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/Exception.h
r718 r738 33 33 namespace utility { 34 34 35 /** 36 \brief Class for errors reported from underlying GSL calls. 37 */ 38 class GSL_error : public std::runtime_error 39 { 40 public: 41 /** 42 \brief The default constructor 43 */ 44 inline GSL_error(void) throw() : std::runtime_error("GSL_error:") {} 45 46 /** 47 \brief Constructor to create an exception with a message 48 */ 49 inline GSL_error(std::string message) throw() 50 : std::runtime_error("IO_error: " + message) {} 51 }; 52 53 35 54 /// 36 55 /// @brief Class for IO errors … … 44 63 inline IO_error(void) throw() : std::runtime_error("IO_error:") {} 45 64 46 / //47 /// Constructor for exception withmessage48 ///65 /** 66 \brief Constructor to create an exception with a message 67 */ 49 68 inline IO_error(std::string message) throw() 50 69 : std::runtime_error("IO_error: " + message) {}
Note: See TracChangeset
for help on using the changeset viewer.