Changeset 750 for trunk/yat/utility
- Timestamp:
- Feb 17, 2007, 11:56:29 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/Exception.h
r738 r750 29 29 #include <string> 30 30 31 #include <gsl/gsl_errno.h> 32 31 33 namespace theplu { 32 34 namespace yat { … … 48 50 */ 49 51 inline GSL_error(std::string message) throw() 50 : std::runtime_error("IO_error: " + message) {} 52 : std::runtime_error("GSL_error: " + message) {} 53 54 inline GSL_error(std::string message, int gsl_status) throw() 55 : std::runtime_error("GSL_error: " + message + gsl_strerror(gsl_status)) {} 51 56 }; 52 57
Note: See TracChangeset
for help on using the changeset viewer.