GitHub user evis opened a pull request: https://github.com/apache/kafka/pull/3485
KAFKA-5531: throw concrete exceptions in streams tests 1. Now instead of just generic Exception methods declare more concrete exceptions throwing or don't declare any throwing at all, if not needed. 2. SimpleBenchmark.run() throws RuntimeException 3. SimpleBenchmark.produce() throws IllegalArgumentException 4. Expect ProcessorStateException in StandbyTaskTest.testUpdateNonPersistentStore() /cc @enothereska You can merge this pull request into a Git repository by running: $ git pull https://github.com/evis/kafka 5531-throw-concrete-exceptions Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3485.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3485 ---- commit 2bdfe2807f42b225e398e06aa1fdc3002b271b1c Author: Evgeny Veretennikov <evg.veretenni...@gmail.com> Date: 2017-07-04T11:57:00Z KAFKA-5531: throw concrete exceptions in streams tests 1. Now instead of just generic Exception methods declare more concrete exceptions throwing or don't declare any throwing at all, if not needed. 2. SimpleBenchmark.run() throws RuntimeException 3. SimpleBenchmark.produce() throws IllegalArgumentException 4. Expect ProcessorStateException in StandbyTaskTest.testUpdateNonPersistentStore() ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---