List Info

Thread: Deprecated getReasonCode method in Commons HttpException




Deprecated getReasonCode method in Commons HttpException
user name
2007-03-09 23:12:57
When constructing an org.apache.webdav.lib.WebdavResource in
the case where
an HttpException is thrown, I need to access the HTTP error
code of this
exception, which to date I have been doing with the
getReasonCode() method
of the HttpException thrown.  The latest version of the
Commons HTTP library
has deprecated this method, but does not appear to provide
an alternative
for this situation.

How to I obtain the HTTP error code resulting from a failed
WebdavResource
construction?

Thanks.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )