| Constructor and Description |
|---|
Instance() |
Instance(int status,
String content) |
Instance(int status,
String content,
String message) |
| Modifier and Type | Method and Description |
|---|---|
Error |
getError()
Return an Error object with the error that have occurred or null.
|
int |
getStatus() |
boolean |
isOk()
Check if this is instance is correct.
|
void |
setError(Error error)
Set an Error object.
|
void |
setStatus(int status) |
public Instance()
public Instance(int status,
String content)
public boolean isOk()
public Error getError()
public void setError(Error error)
error - public int getStatus()
public void setStatus(int status)
Copyright © 2017. All rights reserved.