Beispiel #1
0
 /** Adds an error to a more basic {@link BaseResponse} */
 protected void addError(BaseResponse response, BaseError obj) {
   if (!response.isError()) response.setError(true);
   response.getErrors().add(obj);
 }