[ https://issues.apache.org/jira/browse/KAFKA-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996083#comment-14996083 ]
ASF GitHub Bot commented on KAFKA-2775: --------------------------------------- GitHub user ewencp opened a pull request: https://github.com/apache/kafka/pull/457 KAFKA-2775: Move exceptions into API package for Kafka Connect. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ewencp/kafka kafka-2775-exceptions-in-api-package Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/457.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 #457 ---- commit 64e17775f6843c4fc6236b8d68ca5b24f50724f0 Author: Ewen Cheslack-Postava <m...@ewencp.org> Date: 2015-11-09T04:00:57Z KAFKA-2775: Move exceptions into API package for Kafka Connect. ---- > Copycat exceptions should be in api package so they can be caught by user > code without any dependencies other than api > ---------------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-2775 > URL: https://issues.apache.org/jira/browse/KAFKA-2775 > Project: Kafka > Issue Type: Bug > Components: copycat > Reporter: Ewen Cheslack-Postava > Assignee: Ewen Cheslack-Postava > Fix For: 0.9.0.0 > > > Some of these were created in runtime because that's where the code that used > them originated, but locating them there requires depending on the entire > runtime jar. Instead, we should have a set of exceptions defined in the API > that users can both rely on and use in their own code without additional > dependencies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)