00001
00002
00003
00004
00005
00006
00007
00008
00018 #ifndef EDG_WORKLOAD_CHECKPOINTING_EXCEPTIONS_H
00019 #define EDG_WORKLOAD_CHECKPOINTING_EXCEPTIONS_H
00020
00021 #include "edg/workload/common/utilities/Exceptions.h"
00022 #include "edg/workload/checkpointing/client/error_code.h"
00023
00024 CHKPT_NAMESPACE_BEGIN {
00025
00033 class ChkptException : public edg::workload::common::utilities::Exception {
00034
00035 protected:
00040 ChkptException() {};
00041
00042 public:
00043
00048 ChkptException ( std::string file,
00049 int line,
00050 std::string method,
00051 int code,
00052 std::string exception_name
00053 );
00054 };
00055
00063 class EoSException : public ChkptException {
00064
00065 public:
00066
00067 EoSException ( std::string file,
00068 int line,
00069 std::string method
00070 );
00071 };
00072
00081 class ULException : public ChkptException {
00082
00083 public:
00084
00085 ULException ( std::string file,
00086 int line,
00087 std::string method,
00088 std::string attr
00089 );
00090 };
00091
00101 class WTException : public ChkptException {
00102
00103 public:
00104
00105 WTException ( std::string file,
00106 int line,
00107 std::string method,
00108 std::string attr,
00109 std::string func
00110 );
00111 };
00112
00123 class LFException : public ChkptException {
00124
00125 public:
00126
00127 LFException ( std::string file,
00128 int line,
00129 std::string method,
00130 std::string func,
00131 int error_func
00132 );
00133 };
00134
00144 class SEException : public ChkptException {
00145
00146 public:
00147
00148 SEException ( std::string file,
00149 int line,
00150 std::string method,
00151 std::string attr
00152 );
00153 };
00154
00165 class ESException : public ChkptException {
00166
00167 public:
00168
00169 ESException ( std::string file,
00170 int line,
00171 std::string method,
00172 int code
00173 );
00174 };
00175
00176 } CHKPT_NAMESPACE_END;
00177
00178 #endif
00179
00180
00181
00182