00001 #ifndef EDG_WORKLOAD_COMMON_CLIENT_JOBIDEXCEPTIONS_H
00002 #define EDG_WORKLOAD_COMMON_CLIENT_JOBIDEXCEPTIONS_H
00003
00004
00005
00006
00007
00008 #include "edg/workload/common/utilities/Exceptions.h"
00009 #define COMMON_JOBID_NAMESPACE_BEGIN namespace edg { namespace workload { namespace common {namespace jobid{
00010 COMMON_JOBID_NAMESPACE_BEGIN
00018 class JobIdException : public edg::workload::common::utilities::Exception {
00019 public:
00023 JobIdException (const std::string& file,
00024 int line,
00025 const std::string& method,
00026 int code,
00027 const std::string& exception_name) ;
00028 };
00029
00035 class WrongIdException : public JobIdException {
00036 public:
00044 WrongIdException(const std::string& file,
00045 int line,
00046 const std::string& method,
00047 int code );
00048 };
00054 class EmptyIdException : public JobIdException {
00055 public:
00063 EmptyIdException::EmptyIdException(const std::string& file,
00064 int line,
00065 const std::string& method,
00066 int code ,
00067 const std::string& field );
00068 };
00069 } COMMON_NAMESPACE_END }
00070 #endif
00071