Classes | |
struct | axis2_error_ops |
Axis2 error ops struct. More... | |
struct | axis2_error |
Axis2 Error struct. More... | |
Defines | |
#define | AXIS2_ERROR_FREE(error) ((error->ops)->free(error)) |
#define | AXIS2_ERROR_GET_MESSAGE(error) ((error)->ops->get_message(error)) |
#define | AXIS2_ERROR_SET_ERROR_NUMBER(error, error_number) ((error)->ops->set_error_number(error, error_number)) |
#define | AXIS2_ERROR_SET_STATUS_CODE(error, status_code) ((error)->ops->set_status_code(error, status_code)) |
#define | AXIS2_ERROR_GET_STATUS_CODE(error) ((error)->ops->get_status_code(error)) |
Typedefs | |
typedef axis2_error_ops | axis2_error_ops_t |
Axis2 error ops struct. | |
typedef axis2_error | axis2_error_t |
Axis2 Error struct. | |
Functions | |
AXIS2_EXTERN axis2_status_t | axis2_error_init () |
AXIS2_EXTERN axis2_error_t * | axis2_error_create (axis2_allocator_t *allocator) |
typedef struct axis2_error_ops axis2_error_ops_t |
Axis2 error ops struct.
Encapsulator struct for ops of axis2_error
typedef struct axis2_error axis2_error_t |
Axis2 Error struct.
Error holds the last errorno
AXIS2_EXTERN axis2_error_t* axis2_error_create | ( | axis2_allocator_t * | allocator | ) |
Creates an error struct
allocator | allocator to be used. Mandatory, cannot be NULL |