Source:
<code>public DedicatedZkClient(RealmAwareZkClient.RealmAwareZkConnectionConfig connectionConfig, RealmAwareZkClient.RealmAwareZkClientConfig clientConfig) throws IOException, InvalidRoutingDataException { if (connectionConfig == null) { throw new IllegalArgumentException("RealmAwareZkConnectionConfig cannot be null!"); } if (clientConfig == null) { <START> throw new IllegalArgumentException("RealmAwareZkConnectionConfig cannot be null!"); <END> } String msdsEndpoint = connectionConfig.getMsdsEndpoint(); if (msdsEndpoint == null || msdsEndpoint.isEmpty()) { _metadataStoreRoutingData = HttpRoutingDataReader.getMetadataStoreRoutingData(); } else { _metadataStoreRoutingData = HttpRoutingDataReader.getMetadataStoreRoutingData(msdsEndpoint); } _zkRealmShardingKey = connectionConfig.getZkRealmShardingKey(); String zkRealmAddress = _metadataStoreRoutingData.getMetadataStoreRealm(_zkRealmShardingKey); if (zkRealmAddress == null || zkRealmAddress.isEmpty()) { throw new IllegalArgumentException( "ZK realm address for the given ZK realm sharding key is invalid! ZK realm address: " + zkRealmAddress + " ZK realm sharding key: " + _zkRealmShardingKey); } IZkConnection zkConnection = new ZkConnection(zkRealmAddress, connectionConfig.getSessionTimeout()); _rawZkClient = new ZkClient(zkConnection, (int) clientConfig.getConnectInitTimeout(), clientConfig.getOperationRetryTimeout(), clientConfig.getZkSerializer(), clientConfig.getMonitorType(), clientConfig.getMonitorKey(), clientConfig.getMonitorInstanceName(), clientConfig.isMonitorRootPathOnly()); }</code><technical_language>Typo in exception message. RealmAwareZkClientConfig</technical_language>

Target:
public DedicatedZkClient(RealmAwareZkClient.RealmAwareZkConnectionConfig connectionConfig, RealmAwareZkClient.RealmAwareZkClientConfig clientConfig) throws IOException, InvalidRoutingDataException { if (connectionConfig == null) { throw new IllegalArgumentException("RealmAwareZkConnectionConfig cannot be null!"); } if (clientConfig == null) { throw new IllegalArgumentException("RealmAwareZkClientConfig cannot be null!"); } String msdsEndpoint = connectionConfig.getMsdsEndpoint(); if (msdsEndpoint == null || msdsEndpoint.isEmpty()) { _metadataStoreRoutingData = HttpRoutingDataReader.getMetadataStoreRoutingData(); } else { _metadataStoreRoutingData = HttpRoutingDataReader.getMetadataStoreRoutingData(msdsEndpoint); } _zkRealmShardingKey = connectionConfig.getZkRealmShardingKey(); if (_zkRealmShardingKey == null || _zkRealmShardingKey.isEmpty()) { throw new IllegalArgumentException( "RealmAwareZkConnectionConfig's ZK realm sharding key cannot be null or empty for DedicatedZkClient!"); } String zkRealmAddress = _metadataStoreRoutingData.getMetadataStoreRealm(_zkRealmShardingKey); if (zkRealmAddress == null || zkRealmAddress.isEmpty()) { throw new IllegalArgumentException( "ZK realm address for the given ZK realm sharding key is invalid! ZK realm address: " + zkRealmAddress + " ZK realm sharding key: " + _zkRealmShardingKey); } IZkConnection zkConnection = new ZkConnection(zkRealmAddress, connectionConfig.getSessionTimeout()); _rawZkClient = new ZkClient(zkConnection, (int) clientConfig.getConnectInitTimeout(), clientConfig.getOperationRetryTimeout(), clientConfig.getZkSerializer(), clientConfig.getMonitorType(), clientConfig.getMonitorKey(), clientConfig.getMonitorInstanceName(), clientConfig.isMonitorRootPathOnly()); }