public class ErrorDTO extends Object
| Constructor and Description |
|---|
ErrorDTO() |
ErrorDTO(long code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCode() |
String |
getDescription()
A detail description about the error message.
|
List<ErrorListItemDTO> |
getError()
If there are more than one error list them out.
|
String |
getMessage()
Error message.
|
String |
getMoreInfo()
Preferably an url with more details about the error.
|
void |
setCode(Long code) |
void |
setDescription(String description) |
void |
setError(List<ErrorListItemDTO> error) |
void |
setMessage(String message) |
void |
setMoreInfo(String moreInfo) |
String |
toString() |
public ErrorDTO()
public ErrorDTO(long code,
String message)
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)
public List<ErrorListItemDTO> getError()
public void setError(List<ErrorListItemDTO> error)
Copyright © 2017 WSO2. All rights reserved.