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

result_codes.h

00001 #ifndef  EDG_WORKLOAD_COMMON_CLIENT_RESULT_CODES_H
00002 #define EDG_WORKLOAD_COMMON_CLIENT_RESULT_CODES_H
00003 
00004 //EWC_BEGIN_NAMESPACE ;// NameSpace Definition
00005 #include "edg/workload/common/common_namespace.h"
00006 COMMON_NAMESPACE_BEGIN{
00007 namespace utilities{
00008 /*
00009  * exception_codes.h
00010  * Copyright (c) 2001 The European Datagrid Project - IST programme, all rights reserved.
00011  * Contributors are mentioned in the code where appropriate.
00012  */
00013 
00014 
00018 enum ResultCode {
00019           SUCCESS,           //  The requested operation has been completed successfully
00020           ACCEPTED,         // The requested operation has been accepted
00021 
00022           SUBMISSION_FAILURE,  //  API failed, general RB Exc remapping
00023           CANCEL_FAILURE,    //  API failed, general RB Exc remapping
00024           GETOUTPUT_FAILURE,    //  API failed, general RB Exc remapping
00025           STATUS_FAILURE,    //  API failed, general RB Exc remapping
00026 
00027           GETOUTPUT_FORBIDDEN, //When trying to retrieve output from a not submitted job
00028           CANCEL_FORBIDDEN,  //When trying to cancel a not submitted job
00029           STATUS_FORBIDDEN,  //When trying to retrieve status from a not submitted job
00030           ALREADY_SUBMITTED,  //submit skipped because Job has been already submitted
00031 
00032           JOIN_FAILED, //When a pthread_join is waiting for a cored thread
00033 
00034           OUTPUT_NOT_READY,           //JobNotDoneException
00035           FILE_TRANSFER_ERROR,       //SandboxIOException
00036           JOB_NOT_FOUND,                  //JobNotFoundException
00037 
00038           MARKED_FOR_REMOVAL, //Cancel Method Result
00039           GENERIC_FAILURE,             //Cancel Method Result
00040           CONDOR_FAILURE,             //Cancel Method Result
00041 
00042           GLOBUS_JOBMANAGER_FAILURE,
00043 
00044           JOB_ALREADY_DONE,
00045           JOB_ABORTED,
00046           JOB_CANCELLING,
00047           JOB_NOT_OWNER
00048 
00049 };
00050 //EWC_END_NAMESPACE; //Close the NameSpace
00051 } COMMON_NAMESPACE_END
00052 }
00053 #endif

Generated on Fri May 14 14:18:26 2004 for COMMON API - configuration, jobid, ldif2classadi, logger, process, requestad, socket++i, task, utilities by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002