public class RestProcessingException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
fieldErrors |
protected List<String> |
globalErrors |
| Constructor and Description |
|---|
RestProcessingException(String... globalErrors) |
| Modifier and Type | Method and Description |
|---|---|
RestProcessingException |
fieldError(String field,
String code) |
Map<String,String> |
getFieldErrors() |
List<String> |
getGlobalErrors() |
RestProcessingException |
globalError(String code) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RestProcessingException(String... globalErrors)
public RestProcessingException fieldError(String field, String code)
public RestProcessingException globalError(String code)
Copyright © 2015 Matsuo IT. All rights reserved.