protected void onException(final Exception e){
  LOG.info("Could not check for resource changes because: {}",e.getMessage());
  LOG.debug("[FAIL] detecting resource change ",e);
}

protected void onException ( final Exception e ) { LOG . info ( "Could not check for resource changes because: {}" , e . getMessage ( ) ) ; LOG . debug ( "[FAIL] detecting resource change " , e ) ; }
invoked when exception occurs .
