public class Error extends Object
| Constructor and Description |
|---|
Error()
Default Constructor
|
Error(String error)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getError()
Getter for error
|
String |
getErrorDescription()
Getter for errorDescription
|
String |
getErrorUri()
Getter for errorUri
|
void |
setError(String error)
Setter for error
|
void |
setErrorDescription(String errorDescription)
Setter for errorDescription
|
void |
setErrorUri(String errorUri)
Setter for errorUri
|
String |
toJSON()
Returns a JSON string corresponding to object state
|
String |
toString() |
public Error()
public Error(String error)
public void setError(String error)
public String getError()
public void setErrorDescription(String errorDescription)
public String getErrorDescription()
public void setErrorUri(String errorUri)
public String getErrorUri()
public String toJSON()
Copyright © 2016. All Rights Reserved.