com.atlassian.confluence.rest.api.model
Class RestError

java.lang.Object
  extended by com.atlassian.confluence.rest.api.model.RestError

@ExperimentalApi
public class RestError
extends Object

Contains a standardised error payload for ServiceExceptions thrown by REST resources.


Method Summary
 ValidationResult getData()
          The data returned here is a ValidationResult so that clients can process the i18n key and arguments.
 String getMessage()
           
 int getStatusCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.