private UUID getDiscoveryId(final Map<String, String> params) throws IOException {
        final String discoveryId = params.get("discoveryId");

        if (discoveryId == null) {
            throw new IOException("srvc transport did not get a discoveryId parameter.  Refusing to create.");
        }
        return UUID.fromString(discoveryId);
    }
private UUID getDiscoveryId ( final Map < String , String > params ) throws IOException { final String discoveryId = params . get ( "discoveryId" ) ; if ( discoveryId == null ) { throw new IOException ( "srvc transport did not get a discoveryId parameter.  Refusing to create." ) ; } return UUID . fromString ( discoveryId ) ; }
Find and validate the discoveryId given in a connection string