Description
Repro:
- Add the following to a page flow:
@Jpf.Catch(type=IllegalStateException.class, path="error.jsp", message="${pageFlow.URI}")
- In error.jsp, add the following tag:
<netui:error key="java.lang.IllegalStateException"/>
- Hit an action that throws IllegalStateException.
Expected: see the page flow's URI displayed in error.jsp
Actual: see nothing displayed in error.jsp.
@Jpf.Catch should put the exception under a key created from the exception class name, as long as you didn't specify the 'messageKey' attribute.