|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.json.SingleErrorJSONResult
public class SingleErrorJSONResult
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(java.lang.String messageKey)
|
|
SingleErrorJSONResult(java.lang.String messageKey,
java.lang.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 |
---|
public SingleErrorJSONResult(java.lang.String messageKey)
public SingleErrorJSONResult(java.lang.String messageKey, java.lang.Object[] arguments)
Method Detail |
---|
public Message getErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |