Skip to Main Content

boolean variable instead of true/false in the SkipException of ExceptionHandler

OferAug 30 2021

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 {
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

Post Details
Added on Aug 30 2021