You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ne...@apache.org on 2011/08/24 23:10:03 UTC

svn commit: r1161276 - /incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala

Author: nehanarkhede
Date: Wed Aug 24 21:10:03 2011
New Revision: 1161276

URL: http://svn.apache.org/viewvc?rev=1161276&view=rev
Log:
A new file part of KAFKA-116 was accidentally not checked in. This commit fixes it; patched by nehanarkhede; reviewed by chrisburroughs

Added:
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala

Added: incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala?rev=1161276&view=auto
==============================================================================
--- incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala (added)
+++ incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/IllegalQueueStateException.scala Wed Aug 24 21:10:03 2011
@@ -0,0 +1,25 @@
+/**
+ * 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.producer.async
+
+/**
+ * Indicates that the given config parameter has invalid value
+ */
+class IllegalQueueStateException(message: String) extends RuntimeException(message) {
+  def this() = this(null)
+}