public class InvalidHttpResponseException extends IOException
| Constructor and Description |
|---|
InvalidHttpResponseException(String message,
int status,
String details)
Constructor
|
InvalidHttpResponseException(String message,
Throwable cause,
int status,
String details) |
InvalidHttpResponseException(Throwable cause,
int status,
String details) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails() |
int |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidHttpResponseException(String message, int status, String details)
message - User readable reason for the exceptionstatus - The HTTP status code receiveddetails - Extra details (response txt; header txt, etc)public InvalidHttpResponseException(Throwable cause, int status, String details)
cause - The underlying causestatus - The HTTP status code receiveddetails - Extra details (response txt; header txt, etc)public InvalidHttpResponseException(String message, Throwable cause, int status, String details)
message - User friendly message describing reason for exceptioncause - The underlying causestatus - The HTTP status code receiveddetails - Extra details (response txt; header txt, etc)public int getStatus()
public String getDetails()
Copyright © 2012-2014 Battams, Derek. All Rights Reserved.