// else we need to make a page (see below) or set it hard to a
// redirect.
Class accessDeniedPageClass = application.getApplicationSettings()
.getAccessDeniedPage();
throw new RestartResponseAtInterceptPageException(accessDeniedPageClass);
}
else if (e instanceof PageExpiredException)
{
Class pageExpiredErrorPageClass = application.getApplicationSettings()
.getPageExpiredErrorPage();