use this class if exception can't be handled it will call abort() in DEV_BUILD to create core dump
| 148 | // use this class if exception can't be handled |
| 149 | // it will call abort() in DEV_BUILD to create core dump |
| 150 | class system_call_failed : public system_error |
| 151 | { |
| 152 | protected: |
| 153 | system_call_failed(const char* syscall, const char* arg, int error_code); |
| 154 | |
| 155 | public: |
| 156 | static void raise(const char* syscall, int error_code); |
| 157 | static void raise(const char* syscall); |
| 158 | static void raise(const char* syscall, const char* arg, int error_code); |
| 159 | static void raise(const char* syscall, const char* arg); |
| 160 | }; |
| 161 | |
| 162 | class fatal_exception : public status_exception |
| 163 | { |