maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

Support full error details in Exception. #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In some cases, the web services report additional error details. Those
should be parsed and returned in the exception message.

Original issue reported on code.google.com by dkavan...@gmail.com on 28 Sep 2007 at 12:29

GoogleCodeExporter commented 9 years ago
Looked into this. The java.net libraries don't let me get at the response body 
when
an error is returned (i.e. 400, 500 response code). I'll have to switch over to 
the
httpClient code to make this work.

Original comment by dkavan...@gmail.com on 4 Oct 2007 at 1:16

GoogleCodeExporter commented 9 years ago
With the conversion to commons-httpclient, 400 series errors will parse and 
return
the error message. 500 series errors will retry, up to 5 times, then parse, 
return
the error. Error messages are packaged in the exception thrown.

Original comment by dkavan...@gmail.com on 5 Nov 2007 at 8:33