|
This section defines operations for accessing and modifying data in a Globus Generic Error object.
| globus_module_descriptor_t* globus_error_get_source | ( | globus_object_t * | error | ) |
Retrieve the originating module descriptor from a error object.
| error | The error from which to retrieve the module descriptor |
| void globus_error_set_source | ( | globus_object_t * | error, | |
| globus_module_descriptor_t * | source_module | |||
| ) |
Set the originating module descriptor in a error object.
| error | The error object for which to set the causative error | |
| source_module | The originating module descriptor |
| globus_object_t* globus_error_get_cause | ( | globus_object_t * | error | ) |
Retrieve the underlying error from a error object.
| error | The error from which to retrieve the causative error. |
| void globus_error_set_cause | ( | globus_object_t * | error, | |
| globus_object_t * | causal_error | |||
| ) |
Set the causative error in a error object.
| error | The error object for which to set the causative error. | |
| causal_error | The causative error. |
| int globus_error_get_type | ( | globus_object_t * | error | ) |
Retrieve the error type from a generic globus error object.
| error | The error from which to retrieve the error type |
References GLOBUS_ERROR_TYPE_GLOBUS.
| void globus_error_set_type | ( | globus_object_t * | error, | |
| const int | type | |||
| ) |
Set the error type in a generic globus error object.
| error | The error object for which to set the error type | |
| type | The error type |
References GLOBUS_ERROR_TYPE_GLOBUS.
| char* globus_error_get_short_desc | ( | globus_object_t * | error | ) |
Retrieve the short error description from a generic globus error object.
| error | The error from which to retrieve the description |
References GLOBUS_ERROR_TYPE_GLOBUS.
| void globus_error_set_short_desc | ( | globus_object_t * | error, | |
| const char * | short_desc_format, | |||
| ... | ||||
| ) |
Set the short error description in a generic globus error object.
| error | The error object for which to set the description | |
| short_desc_format | Short format string giving a succinct description of the error. To be passed on to the user. | |
| ... | Arguments for the format string. |
References GLOBUS_ERROR_TYPE_GLOBUS.
| char* globus_error_get_long_desc | ( | globus_object_t * | error | ) |
Retrieve the long error description from a generic globus error object.
| error | The error from which to retrieve the description |
References GLOBUS_ERROR_TYPE_GLOBUS.
| void globus_error_set_long_desc | ( | globus_object_t * | error, | |
| const char * | long_desc_format, | |||
| ... | ||||
| ) |
Set the long error description in a generic globus error object.
| error | The error object for which to set the description | |
| long_desc_format | Longer format string giving a more detailed explanation of the error. |
References GLOBUS_ERROR_TYPE_GLOBUS.
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org