Class RestError
- java.lang.Object
-
- com.atlassian.confluence.rest.api.model.RestError
-
@ExperimentalApi public class RestError extends Object
Contains a standardised error payload forServiceExceptions thrown by REST resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable ValidationResultgetData()The data returned here is aValidationResultso that clients can process the i18n key and arguments.StringgetMessage()StringgetReason()intgetStatusCode()
-
-
-
Method Detail
-
getData
public @Nullable ValidationResult getData()
The data returned here is aValidationResultso that clients can process the i18n key and arguments.
-
getStatusCode
public int getStatusCode()
-
getMessage
public String getMessage()
-
getReason
public String getReason()
-
-