kezhuw opened a new pull request, #2306: URL: https://github.com/apache/zookeeper/pull/2306
`ZKConfig` is client accessible, it should avoid accessing server side `QuorumPeerConfig`. Changes: 1. Introduce `org.apache.zookeeper.common.ConfigException` for `ZKConfig(String configPath)`. 2. Make `QuorumPeerConfig.ConfigException` a subclass of above. 3. Throw `QuorumPeerConfig.ConfigException` if possible. Given above changes, this pr maintain abi compatibility with old releases. **Breaking change**: `ZKConfig(String configPath)` throws `org.apache.zookeeper.common.ConfigException` now but not `QuorumPeerConfig.ConfigException`, so developers have to fix it to compile. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
