public class ServiceClientHTTPException extends GeneralException
Created by Jeff Gaynor
on 10/22/15 at 4:30 PM
Constructor and Description |
---|
ServiceClientHTTPException() |
ServiceClientHTTPException(String message) |
ServiceClientHTTPException(String message,
Throwable cause) |
ServiceClientHTTPException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
This should have the body of the response as a string.
|
int |
getStatus()
This should have the status code returned by the server.
|
boolean |
hasContent() |
void |
setContent(String content) |
void |
setStatus(int status) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceClientHTTPException()
public ServiceClientHTTPException(Throwable cause)
public ServiceClientHTTPException(String message)
public boolean hasContent()
public String getContent()
public void setContent(String content)
public int getStatus()
public void setStatus(int status)
Copyright © 2019. All Rights Reserved.