axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <>
Subject [jira] Commented: (AXISCPP-731) extern "C" functions throw exceptions
Date Wed, 27 Jul 2005 03:12:19 GMT
    [ ] 

Samisa Abeysinghe commented on AXISCPP-731:

The functions
int initialize_module (int bServer);
int uninitialize_module (); 
are use by both client side as well as server side. The server side includes SimpleAxisServer.
Hence writing to Apache error log is not sensible within these methods.

We could throw an exception if it is client side to be captured by the clinet implementation,
and return a failure code if it is server side. The returned failure code could be captured
by the Apache module and write to Apache error log

> extern "C" functions throw exceptions
> -------------------------------------
>          Key: AXISCPP-731
>          URL:
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Apache module
>     Versions: current (nightly)
>     Reporter: Henrik Nordberg

> The following functions defined as extern "C" throw exceptions:
> In Axis.cpp:
> int initialize_module (int bServer);
> int uninitialize_module ();
> Can these throws be changed to log to the Apache error_log and return a failure code?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message