public class ErrorResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorResponse.ErrorResponseBuilder
This class wraps the logic to build an error response.
|
| Constructor and Description |
|---|
ErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCode() |
String |
getDescription() |
String |
getMessage() |
String |
getMoreInfo() |
void |
setCode(Long code) |
void |
setDescription(String description) |
void |
setMessage(String message) |
void |
setMoreInfo(String moreInfo) |
String |
toString() |
public Long getCode()
public void setCode(Long code)
public String getMessage()
public void setMessage(String message)
public String getDescription()
public void setDescription(String description)
public String getMoreInfo()
public void setMoreInfo(String moreInfo)
Copyright © 2019 WSO2. All rights reserved.