20 #ifndef GLITE_WMS_COMMON_CLIENT_JOBADEXCEPTIONS_H
21 #define GLITE_WMS_COMMON_CLIENT_JOBADEXCEPTIONS_H
23 #define GLITE_STACK_JDL_CATCH(exc_name)catch(exc_name &exc){exc.push_back(__FILE__,LINE,METHOD);throw;}
24 #define GLITE_STACK_JDL_CATCH_ALL() }\
25 GLITE_STACK_JDL_CATCH(AdSemanticMandatoryException) \
26 GLITE_STACK_JDL_CATCH(AdSemanticPathException) \
27 GLITE_STACK_JDL_CATCH(AdSemanticGroupException) \
28 GLITE_STACK_JDL_CATCH(AdMismatchException) \
29 GLITE_STACK_JDL_CATCH(AdFormatException) \
30 GLITE_STACK_JDL_CATCH(AdListException) \
31 GLITE_STACK_JDL_CATCH(AdEmptyException) \
32 GLITE_STACK_JDL_CATCH(AdExtractedException) \
33 GLITE_STACK_JDL_CATCH(glite::wmsutils::exception::Exception) \
34 catch(std::exception &ex){glite::wmsutils::exception::Exception \
35 exc(__FILE__,__LINE__,METHOD,0,"Standard exception: "+std::string(ex.what()));throw exc;}
42 #include "glite/wmsutils/exception/Exception.h"
57 const char*
what()
throw();
66 std::string exception_name) ;
81 std::string method_name ,
96 std::string attr_name );
113 std::string exception_name );
128 std::string attr_name );
144 std::string attr_name,
145 std::string path_name );
160 std::string attrs_name );
172 std::string exception_name );
187 std::string attr_name,
204 std::string attr_name,
205 std::string format =
"");
219 std::string attr_name );
236 std::string attr_name );
AdClassAdException(std::string file, int line, std::string method, int code, std::string method_name, std::string error_description="")
Definition: RequestAdExceptions.h:75
AdListException(std::string file, int line, std::string method, int code, std::string attr_name)
Definition: RequestAdExceptions.h:227
Definition: RequestAdExceptions.h:55
Definition: RequestAdExceptions.h:210
AdSemanticException(std::string file, int line, std::string method, int code, std::string exception_name)
AdSemanticGroupException(std::string file, int line, std::string method, int code, std::string attrs_name)
Definition: RequestAdExceptions.h:151
virtual ~RequestAdException()
Definition: RequestAdExceptions.h:67
AdSemanticPathException(std::string file, int line, std::string method, int code, std::string attr_name, std::string path_name)
Definition: RequestAdExceptions.h:104
AdSyntaxException(std::string file, int line, std::string method, int code, std::string attr_name)
Definition: RequestAdExceptions.h:90
std::string error_description
Definition: RequestAdExceptions.h:67
Definition: RequestAdExceptions.h:119
AdEmptyException(std::string file, int line, std::string method, int code, std::string attr_name)
Definition: RequestAdExceptions.h:166
Definition: RequestAdExceptions.h:178
AdMismatchException(std::string file, int line, std::string method, int code, std::string attr_name, std::string error_description="")
AdAttributeException(std::string file, int line, std::string method, int code, std::string exception_name)
RequestAdException(std::string file, int line, std::string method, int code, std::string exception_name)
AdSemanticMandatoryException(std::string file, int line, std::string method, int code, std::string attr_name)
Definition: RequestAdExceptions.h:135