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 java.lang.Object

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


Method Summary
 java.lang.Object getData()
          TODO - The data returned here could be a Message so that clients can process the i18n key and arguments.
 java.lang.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

public java.lang.Object getData()
TODO - The data returned here could be a Message so that clients can process the i18n key and arguments.


getStatusCode

public int getStatusCode()

getMessage

public java.lang.String getMessage()


Copyright © 2003-2014 Atlassian. All Rights Reserved.