public static class RestInvocationHelper.RequestFailedException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
content
The received content
|
protected int |
statuscode
Return status code
|
Constructor and Description |
---|
RequestFailedException(java.lang.String message,
int statuscode,
java.lang.String content)
Create the exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Gets the received content.
|
int |
getStatuscode()
Gets the received status code.
|
void |
setContent(java.lang.String content)
Sets the received content.
|
void |
setStatuscode(int statuscode)
Sets the received status code.
|
protected int statuscode
protected java.lang.String content
public RequestFailedException(java.lang.String message, int statuscode, java.lang.String content)
response
- The received response.public int getStatuscode()
public void setStatuscode(int statuscode)
statuscode
- The received status code.public java.lang.String getContent()
public void setContent(java.lang.String content)
statuscode
- The received content.