@ExperimentalApi public class RestError extends Object
ServiceException
s thrown by REST resources.Modifier and Type | Method and Description |
---|---|
@Nullable ValidationResult |
getData()
The data returned here is a
ValidationResult so that clients can process the i18n key and
arguments. |
String |
getMessage() |
String |
getReason() |
int |
getStatusCode() |
public @Nullable ValidationResult getData()
ValidationResult
so that clients can process the i18n key and
arguments.public int getStatusCode()
public String getMessage()
public String getReason()
Copyright © 2003–2019 Atlassian. All rights reserved.