* Generates the HTTP response info for the server status exception.
*
* @return The HTTP response info for the server status exception.
*/
protected HttpResponseInfo generateHttpResponseInfo() {
HttpResponseInfo httpResponseInfo = null;
try {
int responseCode = 0;
if (postMethod.hasHttpResponse()) {
responseCode = postMethod.getHttpResponse().getStatusLine().getStatusCode();
}
String responseMessage = postMethod.getResponseBodyAsString();
httpResponseInfo = new HttpResponseInfo(responseCode, responseMessage);
} catch (IOException ignore) {
}
return httpResponseInfo;
}