gov.llnl.babel.url
Class HttpException
IOExceptiongov.llnl.babel.url.HttpException
public class HttpException
extends IOException
The HttpException exception class is thrown if an
HTTP communication error is detected. The exception supports the
regular message string and also a method to extract the integer
response code.
HttpException(int response_code, String message)- Create a new
HttpException exception with the specified
integer resonse code and message string.
|
int | getResponseCode()- Return the HTTP response code that caused the exception.
|
HttpException
public HttpException(int response_code,
String message) Create a new HttpException exception with the specified
integer resonse code and message string.
getResponseCode
public int getResponseCode()
Return the HTTP response code that caused the exception.