hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Frisaye" <x.fris...@t4hr.com>
Subject RE: HttpException question
Date Mon, 14 Jun 2004 13:15:20 GMT
Ok

I'm certainly not asking my question at the right place. I'm using slide
client which use HttpClient and as HttpException is defined in
HttpClient, i was asking here but i would ask in slide client mailing
list!

Thanks

Xavier

-----Original Message-----
From: Roland Weber [mailto:ROLWEBER@de.ibm.com]
Sent: lundi 14 juin 2004 9:59
To: Commons HttpClient Project
Subject: Re: HttpException question


Hello Xavier,

if the server sends an HTTP status code,
there is no need for an exception. Just use
HttpMethod.getStatusCode().

If there is an exception, there is no status
code to include in the message. Unless you
throw your own exception, in which case
you are free to generate every message
you consider useful.

cheers,
  Roland





"Xavier Frisaye" <x.frisaye@t4hr.com> 
14.06.2004 08:48
Please respond to
"Commons HttpClient Project"


To
"Commons HttpClient Project" <commons-httpclient-dev@jakarta.apache.org>
cc

Subject
HttpException question






Hi,

I would like to have in the message of an HttpException the reason
(http) code.

Do you think it could be useful or not?

Regards,

Xavier Frisaye

---------------------------------------------------------------------
To unsubscribe, e-mail: 
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: 
commons-httpclient-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message