if(responseCode == HttpServletResponse.SC_NOT_FOUND) {
logger.trace("Data not found. " +
"Module: " + module.getInfo().getName() +
" Code: " + ex.getErrorCode(), ex);
} else if(module.redirectAuthFail() && responseCode == HttpServletResponse.SC_UNAUTHORIZED) {
// OK!
// When Authentication exception happen, we it be possible (module have this feature and
// redirect URL was available) we will redirect connection to authentication page
// TODO: Not support after modular Authentication