Search in sources :

Example 1 with JNDIException

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;
}
Also used : JNDIException(org.mifos.reports.pentaho.util.JNDIException) ModelAndView(org.springframework.web.servlet.ModelAndView)

Aggregations

JNDIException (org.mifos.reports.pentaho.util.JNDIException)1 ModelAndView (org.springframework.web.servlet.ModelAndView)1