Surface 5 <p: ajaxExceptionHandler / "> java.lang.Exception handling
Using
<p:ajaxExceptionHandler type="java.lang.Exception" >
or
<p:ajaxExceptionHandler type="java.lang.Throwable" >
Exception fixes that are handled with labels do not work !!
My question is, how can I use perffaces ajaxExceptionHandler to handle all thrown exceptions, no matter what it is exactly ( NullPointerException, OutOfBoundException.., etc.)?
I just have to mention that <p:ajaxExceptionHandler>works great when I use it with
javax.ejb.EJBException, java.lang.NullPointerExceptionor other custom exceptions.
+4