|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JSONErrorScope
JSON Response error scope interface.
| Method Summary | |
|---|---|
void |
addError(String error)
Add global error for this response-scope. |
void |
addError(String fieldName,
String error)
Add field error for this response-scope. |
JSONErrorScope |
getErrorObject(String objectName)
Get error object to error scope. |
| Method Detail |
|---|
void addError(String error)
error - - error text
void addError(String fieldName,
String error)
fieldName - - field nameerror - - error textJSONErrorScope getErrorObject(String objectName)
objectName - - inner error object name in error scope
JSONErrorScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||