public class

SingleErrorJSONResult

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.json.SingleErrorJSONResult

Class Overview

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)

Summary

Public Constructors
SingleErrorJSONResult(String messageKey)
SingleErrorJSONResult(String messageKey, Object[] arguments)
Public Methods
Message getErrorMessage()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SingleErrorJSONResult (String messageKey)

public SingleErrorJSONResult (String messageKey, Object[] arguments)

Public Methods

public Message getErrorMessage ()