com.meterware.httpunit

Class HttpException

public class HttpException extends RuntimeException

This exception is thrown when an Http error (response code 4xx or 5xx) is detected.

Author: Seth Ladd Russell Gold

Constructor Summary
protected HttpException(int responseCode)
protected HttpException(int responseCode, String responseMessage, URL baseURL)
Method Summary
StringgetMessage()
intgetResponseCode()
StringgetResponseMessage()

Constructor Detail

HttpException

protected HttpException(int responseCode)

HttpException

protected HttpException(int responseCode, String responseMessage, URL baseURL)

Method Detail

getMessage

public String getMessage()

getResponseCode

public int getResponseCode()

getResponseMessage

public String getResponseMessage()