Class SingleErrorJSONResult

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

    • SingleErrorJSONResult

      public SingleErrorJSONResult(String messageKey)
    • SingleErrorJSONResult

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

    • getErrorMessage

      public Message getErrorMessage()