Class 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 Detail

      • SingleErrorJSONResult

        public SingleErrorJSONResult​(String messageKey)
      • SingleErrorJSONResult

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

      • getErrorMessage

        public Message getErrorMessage()