use of org.mifos.reports.pentaho.util.JNDIException in project head by mifos.
the class UncaughtExceptionHandler method checkForPageJndiException.
private ModelAndView checkForPageJndiException(Exception ex, HttpServletRequest request) {
if (ex instanceof JNDIException) {
ModelAndView modelAndView = null;
String viewName = determineViewName(ex, request);
if (viewName != null) {
modelAndView = getModelAndView(viewName, ex, request);
}
return modelAndView;
}
return null;
}
Aggregations