@@ -34,14 +34,19 @@ { OFHTTPRequest *_request; OFHTTPResponse *_response; } -#ifdef OF_HAVE_PROPERTIES +/*! + * The HTTP request which failed. + */ @property (readonly, retain) OFHTTPRequest *request; + +/*! + * The response for the failed HTTP request. + */ @property (readonly, retain) OFHTTPResponse *response; -#endif /*! * @brief Creates a new, autoreleased HTTP request failed exception. * * @param request The HTTP request which failed @@ -58,20 +63,6 @@ * @param response The response for the failed HTTP request * @return A new HTTP request failed exception */ - initWithRequest: (OFHTTPRequest*)request response: (OFHTTPResponse*)response; - -/*! - * @brief Returns the HTTP request which failed. - * - * @return The HTTP request which failed - */ -- (OFHTTPRequest*)request; - -/*! - * @brief Returns the response for the failed HTTP request. - * - * @return The response for the failed HTTP request - */ -- (OFHTTPResponse*)response; @end