com.atlassian.confluence.rest.api.model
Class RestError
java.lang.Object
com.atlassian.confluence.rest.api.model.RestError
@ExperimentalApi
public class RestError
- extends Object
Contains a standardised error payload for ServiceException
s thrown by REST resources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getData
@Nullable
public ValidationResult getData()
- The data returned here is a
ValidationResult
so that clients can process the i18n key and
arguments.
getStatusCode
public int getStatusCode()
getMessage
public String getMessage()
Copyright © 2003–2015 Atlassian. All rights reserved.