axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@opensource.lk
Subject Re: Removing printfs ftom run time
Date Tue, 03 Aug 2004 09:55:41 GMT
Hi All,

  I have checked the client engine for printf's and remove the printf's
from runtime. These printf's were used to print error massages. Now
inside the client engine there are no more printf's. I have replace
those error massages with a exception.

Lahiru




> Hi Damitha
>
>   I have done the changes and attached the diff files.
>
> Thanks
> Lahiru Wimalasiri
>
>> Hi Lahiru,
>>
>> you throw
>>
>> throw AxisWsddException(CLIENT_WSDD_FILE_NOT_FOUND)
>>
>> In AxisException.h file it is documented how to invent error codes.
>> According to it
>>
>> CLIENT - Client request is responsible for the fault
>> WSDD - This fault occur in the wsdd module
>> FILE_NOT_FOUND - Actual error code
>>
>> So according to the error code you invented the fault occured in wsdd
>> module(which is right) and client request is responsible for the fault.
>> But this is not right. It is server fault that it is unable to load.
>> Also before you inventing a new fault code see whether you can use
>> an existing one in the enumeration
>>
>> thanks
>> damitha
>> On Wed, 2004-07-28 at 11:40, lahiru@opensource.lk wrote:
>>> Hi all,
>>>
>>> There are some places in the axis engine use printf for debugging
>>> purposes. It is a good idea to replace these error massages with
>>> existing
>>> exception model. I have found some places and replace them with
>>> exceptions. All the diff files are attached.
>>>
>>> Lahiru Wimalasiri
>>
>>
>>
>


Mime
View raw message