axis2_error_ops Struct Reference
[error]

Axis2 error ops struct. More...

#include <axis2_error.h>

List of all members.

Public Attributes

axis2_status_t(* free )(struct axis2_error *error)
const axis2_char_t *(* get_message )(const struct axis2_error *error)
const axis2_char_t *(* get_extended_message )(const struct axis2_error *error)
axis2_status_t(* set_error_number )(struct axis2_error *error, axis2_error_codes_t error_number)
axis2_status_t(* set_status_code )(struct axis2_error *error, axis2_status_codes_t status_code)
axis2_status_t(* get_status_code )(struct axis2_error *error)


Detailed Description

Axis2 error ops struct.

Encapsulator struct for ops of axis2_error


Member Data Documentation

axis2_status_t( * axis2_error_ops::free)(struct axis2_error *error)
 

deallocate memory of a error struct

Returns:
axis2_status_t status code

const axis2_char_t*( * axis2_error_ops::get_extended_message)(const struct axis2_error *error)
 

This fucntion is supposed to be overridden in an extended error structure. For example in Sandesha error structure this fucntion is overridden so that errors of axis2 range call the get_message function of error struct but errors of sandesha2 range get the messages from an array of that struct.

Returns:
error message for the extended struct.

const axis2_char_t*( * axis2_error_ops::get_message)(const struct axis2_error *error)
 

get error message for the last error

Returns:
error message for the last error. NULL on error.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 31 17:32:40 2006 for Axis2/C by  doxygen 1.4.6