00001 #ifndef _theplu_yat_utility_exception_
00002 #define _theplu_yat_utility_exception_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include <stdexcept>
00027 #include <string>
00028
00029 namespace theplu {
00030 namespace yat {
00031 namespace utility {
00032
00033
00034
00038 class runtime_error : public std::runtime_error
00039 {
00040 public:
00046 runtime_error(std::string message);
00047 };
00048
00049
00053 class cmd_error : public std::runtime_error
00054 {
00055 public:
00061 cmd_error(std::string message);
00062 };
00063
00064
00071 class errno_error : public std::runtime_error
00072 {
00073 public:
00078 errno_error(std::string message);
00079 };
00080
00087 class GSL_error : public std::runtime_error
00088 {
00089 public:
00093 GSL_error(std::string message);
00094
00099 GSL_error(std::string message, int gsl_status);
00100 };
00101
00102
00109 class IO_error : public std::runtime_error
00110 {
00111 public:
00115 IO_error(std::string message);
00116 };
00117
00118 }}}
00119
00120 #endif