static void logConnectionException ( URI uri , DiscoveryOption discoveryOption , boolean moreOptions , Exception e ) { if ( uri == null ) { HostControllerLogger . ROOT_LOGGER . failedDiscoveringMaster ( discoveryOption , e ) ; } else { HostControllerLogger . ROOT_LOGGER . cannotConnect ( uri , e ) ; } if ( ! moreOptions ) { // All discovery options have been exhausted HostControllerLogger . ROOT_LOGGER . noDiscoveryOptionsLeft ( ) ; } }
Handles logging tasks related to a failure to connect to a remote HC .