axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: getLastErrorMessage
Date Wed, 05 Jan 2005 02:37:11 GMT
+1.

There is strerror(3) on Linux/Unix. (see also errno(3), perror(3) man pages)
To my knowlege, we are not using these.

Thanks,
Samisa...


On Tue, 4 Jan 2005 18:38:09 +0000, John Hawkins <HAWKINSJ@uk.ibm.com> wrote:
> 
> 
> Hi Folks,
> 
> windows has a function called getlastError(). This returns back an error
> number. this number can then be used automagically by Windows to get the
> last error message i.e. it helped me find out what was going wrong with the
> transport layer today. This is a known C thing isn't it ? i.e. unix has
> some kind of get last errorno (does it have last error message too?).
> 
> I've just used this method  and whilst using it I thought - "why don't we
> use this in other places too?".  It would be good if (in platform specific
> class - see other note) we could have a method called get:LastError - which
> could provide useful input into the Exceptions?
> 
> Do we already have this function and I just don't know about it?
> 
> Thoughts?
> 
> 
> John Hawkins
> 
>

Mime
View raw message