         <!-- IllegalStateException is not handled using ajaxExceptionHandlers below, so the error page is shown-->
                <p:commandButton action="#{exceptionHandlerView.throwWrappedIllegalStateException}"
                                 ajax="true"
                                 value="Throw IllegalStateException!" styleClass="mr-2"/>

                <h5>Non-AJAX</h5>
                <p:commandButton action="#{exceptionHandlerView.throwViewExpiredException}"
                                 a