Deprecated getReasonCode method in Commons HttpException
"Jason Polites" <[email protected]> Sat, 10 Mar 2007 16:12:57 +1100
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
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.