return super.getModelAndView(viewName, ex, request);
}
private BusinessException encode(BusinessException ex){
String key = BUSINESS_EXCEPTION_PREFIX + ex.getErrorCode();
BusinessException result = new BusinessException(ex.getErrorCode(),
context.getMessage(key, ex.getArgs(),key, LocaleContextHolder.getLocale()));
result.setArgs(ex.getArgs());
if(ex.getLinkedException() != null){
result.setLinkedException(encode(ex.getLinkedException()));
}
return result;
}