void startCustomExceptionHandler(){
  List<CrashReportingService> services=getEnabledServicesForType(CrashReportingService.class);
  if (services != null && !services.isEmpty()) {
    if (customExceptionHandler == null) {
      customExceptionHandler=new CustomExceptionHandler(context,services,foamApiKeys.wifiOnly());
    }
    if (!customExceptionHandler.isRunning()) {
      customExceptionHandler.start();
    }
  }
}

void startCustomExceptionHandler ( ) { List < CrashReportingService > services = getEnabledServicesForType ( CrashReportingService . class ) ; if ( services != null && ! services . isEmpty ( ) ) { if ( customExceptionHandler == null ) { customExceptionHandler = new CustomExceptionHandler ( context , services , foamApiKeys . wifiOnly ( ) ) ; } if ( ! customExceptionHandler . isRunning ( ) ) { customExceptionHandler . start ( ) ; } } }
start foam custom exception handler class .
