From commits-return-2347-apmail-kafka-commits-archive=kafka.apache.org@kafka.apache.org Sun Apr 26 19:13:07 2015 Return-Path: X-Original-To: apmail-kafka-commits-archive@www.apache.org Delivered-To: apmail-kafka-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AAB1A17B5E for ; Sun, 26 Apr 2015 19:13:07 +0000 (UTC) Received: (qmail 84254 invoked by uid 500); 26 Apr 2015 19:13:07 -0000 Delivered-To: apmail-kafka-commits-archive@kafka.apache.org Received: (qmail 84220 invoked by uid 500); 26 Apr 2015 19:13:07 -0000 Mailing-List: contact commits-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list commits@kafka.apache.org Received: (qmail 84210 invoked by uid 99); 26 Apr 2015 19:13:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2015 19:13:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0D742E0332; Sun, 26 Apr 2015 19:13:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nehanarkhede@apache.org To: commits@kafka.apache.org Message-Id: <1bc3e781c82b4be3b6604127c14b3645@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: kafka git commit: KAFKA-2140 follow up, checking in newly renamed file ConsumerRebalanceFailedException Date: Sun, 26 Apr 2015 19:13:07 +0000 (UTC) Repository: kafka Updated Branches: refs/heads/trunk ae797467e -> 4c010fc2d KAFKA-2140 follow up, checking in newly renamed file ConsumerRebalanceFailedException Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/4c010fc2 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/4c010fc2 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/4c010fc2 Branch: refs/heads/trunk Commit: 4c010fc2d392a8367f1871745ec1bb19b99f558c Parents: ae79746 Author: Ismael Juma Authored: Sun Apr 26 12:12:51 2015 -0700 Committer: Neha Narkhede Committed: Sun Apr 26 12:13:02 2015 -0700 ---------------------------------------------------------------------- .../ConsumerRebalanceFailedException.scala | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/4c010fc2/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala b/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala new file mode 100644 index 0000000..2f4c2cf --- /dev/null +++ b/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala @@ -0,0 +1,26 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package kafka.common + +/** + * Thrown when a request is made for broker but no brokers with that topic + * exist. + */ +class ConsumerRebalanceFailedException(message: String) extends RuntimeException(message) { + def this() = this(null) +}