summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-12-18 14:17:59 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-12-18 14:17:59 +0000
commit4bd61f329acd3631f29fae11e144de531d2a73b5 (patch)
tree78538e5ab99eec43070936fb1011943ffc5e52b2
parente787eba0d8b10f61e39fa7a6d8a6f12a00977d36 (diff)
downloadqpid-python-4bd61f329acd3631f29fae11e144de531d2a73b5.tar.gz
AMQInvalidSelectorException.java - used by both client and server for reporting when the selector is invalid
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/jmsselectors@488274 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/common/src/main/java/org/apache/qpid/AMQInvalidSelectorException.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/AMQInvalidSelectorException.java b/java/common/src/main/java/org/apache/qpid/AMQInvalidSelectorException.java
new file mode 100644
index 0000000000..dcd039b789
--- /dev/null
+++ b/java/common/src/main/java/org/apache/qpid/AMQInvalidSelectorException.java
@@ -0,0 +1,31 @@
+/*
+ * 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 org.apache.qpid;
+
+import org.apache.qpid.protocol.AMQConstant;
+
+public class AMQInvalidSelectorException extends AMQException
+{
+ public AMQInvalidSelectorException(String message)
+ {
+ super(AMQConstant.INVALID_SELECTOR.getCode(),message);
+ }
+}