#include "globus_callout_constants.h"
#include "globus_i_callout.h"
Go to the source code of this file.
Definition in file globus_callout_error.c.
|
|||||||||||||||||||||
|
Definition at line 46 of file globus_callout_error.c. References GLOBUS_CALLOUT_MODULE, GLOBUS_I_CALLOUT_DEBUG_ENTER, GLOBUS_I_CALLOUT_DEBUG_EXIT, and globus_l_callout_error_strings.
00053 {
00054 globus_object_t * error_object;
00055 globus_result_t result;
00056
00057 static char * _function_name_ =
00058 "globus_i_callout_error_result";
00059
00060 GLOBUS_I_CALLOUT_DEBUG_ENTER;
00061
00062 error_object = globus_error_construct_error(
00063 GLOBUS_CALLOUT_MODULE,
00064 NULL,
00065 error_type,
00066 filename,
00067 function_name,
00068 line_number,
00069 "%s%s%s",
00070 globus_l_callout_error_strings[error_type],
00071 short_desc ? ": " : "",
00072 short_desc ? short_desc : "");
00073
00074 if(long_desc)
00075 {
00076 globus_error_set_long_desc(error_object, long_desc);
00077 }
00078
00079 result = globus_error_put(error_object);
00080
00081 GLOBUS_I_CALLOUT_DEBUG_EXIT;
00082
00083 return result;
00084 }
|
|
||||||||||||||||||||||||
|
Definition at line 87 of file globus_callout_error.c. References GLOBUS_CALLOUT_MODULE, GLOBUS_I_CALLOUT_DEBUG_ENTER, GLOBUS_I_CALLOUT_DEBUG_EXIT, and globus_l_callout_error_strings.
00095 {
00096 globus_object_t * error_object;
00097 globus_result_t result;
00098
00099 static char * _function_name_ =
00100 "globus_i_callout_error_chain_result";
00101
00102 GLOBUS_I_CALLOUT_DEBUG_ENTER;
00103
00104 error_object =
00105 globus_error_construct_error(
00106 GLOBUS_CALLOUT_MODULE,
00107 globus_error_get(chain_result),
00108 error_type,
00109 filename,
00110 function_name,
00111 line_number,
00112 "%s%s%s",
00113 globus_l_callout_error_strings[error_type],
00114 short_desc ? ": " : "",
00115 short_desc ? short_desc : "");
00116
00117 if(long_desc)
00118 {
00119 globus_error_set_long_desc(error_object, long_desc);
00120 }
00121
00122 result = globus_error_put(error_object);
00123
00124 GLOBUS_I_CALLOUT_DEBUG_EXIT;
00125 return result;
00126 }
|
|
||
|
Initial value:
{
"Success",
"Error with hash table",
"Error opening configuration file",
"Error parsing configuration file",
"Error with dynamic library",
"Out of memory",
"The callout type has not been configured",
"The callout returned an error"
}
Definition at line 30 of file globus_callout_error.c. Referenced by globus_i_callout_error_chain_result(), and globus_i_callout_error_result(). |
about globus |
grid research |
globus toolkit |
software development
Comments? webmaster@globus.org