com.atlassian.confluence.json
Class SingleErrorJSONResult

java.lang.Object
  extended by com.atlassian.confluence.json.SingleErrorJSONResult

public class SingleErrorJSONResult
extends Object

Helper class for Actions that want to return a single action error as a JSON result. (For example, Ajax actions that have failed their XSRF token check)


Constructor Summary
SingleErrorJSONResult(String messageKey)
           
SingleErrorJSONResult(String messageKey, Object[] arguments)
           
 
Method Summary
 Message getErrorMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleErrorJSONResult

public SingleErrorJSONResult(String messageKey)

SingleErrorJSONResult

public SingleErrorJSONResult(String messageKey,
                             Object[] arguments)
Method Detail

getErrorMessage

public Message getErrorMessage()


Copyright © 2003–2015 Atlassian. All rights reserved.