we have ExceptionHandler which is defined in the dataBindings.cpx
is it possible to use a boolean variable that is being controlled from the JSF page
or the following can't be changed after runtime:
public class DCExceptionhandler extends DCErrorHandlerImpl {
(
@Override
protected boolean skipException(Exception exception) {
if (exception instanceof SQLException){
return BOOLEAN_VARIABLE; -- instead of true/false
}
}
the purpose of this is to have a check box on the JSF page that can control the true/false of the skipException condition
if true - exception skipped
if false - exception shown