Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

JobExceptions.h

Go to the documentation of this file.
00001 #ifndef  EDG_WORKLOAD_USERINTERFACE_CLIENT_JOBEXCEPTIONS_H
00002 #define EDG_WORKLOAD_USERINTERFACE_CLIENT_JOBEXCEPTIONS_H
00003 /*
00004  * JobExceptions.h
00005  * Copyright (c) 2001 The European Datagrid Project - IST programme, all rights reserved.
00006  * Contributors are mentioned in the code where appropriate.
00007  */
00008 #include "edg/workload/common/utilities/Exceptions.h"
00009 #include "edg/workload/userinterface/client/exception_codes.h"
00010 
00011 //#include "edg/workload/broker/client/ClientExceptions.h"
00012 // EWC_BEGIN_NAMESPACE ;// NameSpace Definition
00013 USERINTERFACE_NAMESPACE_BEGIN //Defining UserInterFace NameSpace
00022 class JobCollectionException : public edg::workload::common::utilities::Exception {
00023 public:
00026    JobCollectionException  (const std::string& file,
00027                              int line,
00028                              const std::string& method,
00029                              int code,
00030                              const std::string& exception_name);
00031 // protected:
00032    // std::string          error_description ;
00033 };//End Class JobCollectionException
00034 
00038 class JobCollectNoJobException : public  JobCollectionException {
00039 public:
00043 JobCollectNoJobException(const std::string& file,
00044                              int line,
00045                              const std::string& method,
00046                              int code,
00047                              const std::string& job= "");
00048 };//End CLass  JobCollectNoJobException
00054 class JobException : public edg::workload::common::utilities::Exception {
00059 protected:
00060 JobException(const std::string& file,
00061                  int line,
00062                  const std::string& method,
00063                  int code,
00064                  const std::string& exception_name);
00065 };//End CLass  JobException
00066 
00067 
00068 
00072 class JobTimeoutException : public JobException {
00073 public:
00077     JobTimeoutException(const std::string& file,
00078                         int line,
00079                         const std::string& method,
00080                         int code);
00081 };//End Class    JobTimeoutException
00082 
00086 class JobOperationException : public JobException {
00087 public:
00091     JobOperationException(const std::string& file,
00092                           int line,
00093                           const std::string& method,
00094                           int code,
00095                           const std::string& reason);
00096 };//End CLass JobOperationException
00097 
00098 // EWC_END_NAMESPACE; //Close the NameSpace
00099 USERINTERFACE_NAMESPACE_END } //Closing  UserInterFace NameSpace
00100 #endif

Generated on Wed Mar 1 00:39:46 2006 for USERINTERFACE C++ API by doxygen 1.3.5