diff options
author | Martin Ritchie <ritchiem@apache.org> | 2007-02-20 09:23:15 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2007-02-20 09:23:15 +0000 |
commit | bc6a142a055071e5b7025cd1022485f26a0011f2 (patch) | |
tree | 86200e87b8264da5c2bbb09a985397b6c365d909 /java/broker/src | |
parent | c5211e63139dcd0ddfb2061b8ada312e6ea3083c (diff) | |
download | qpid-python-bc6a142a055071e5b7025cd1022485f26a0011f2.tar.gz |
Intelj renamed AMQInvalidArgumentException in the generated code not the grammar file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509479 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src')
-rw-r--r-- | java/broker/src/main/grammar/SelectorParser.jj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/broker/src/main/grammar/SelectorParser.jj b/java/broker/src/main/grammar/SelectorParser.jj index fe306860b8..adec1b348d 100644 --- a/java/broker/src/main/grammar/SelectorParser.jj +++ b/java/broker/src/main/grammar/SelectorParser.jj @@ -66,7 +66,7 @@ package org.apache.qpid.server.filter.jms.selector; import java.io.StringReader;
import java.util.ArrayList;
-import org.apache.qpid.AMQInvalidSelectorException;
+import org.apache.qpid.AMQInvalidArgumentException;
import org.apache.qpid.server.filter.ArithmeticExpression;
import org.apache.qpid.server.filter.BooleanExpression;
import org.apache.qpid.server.filter.ComparisonExpression;
@@ -87,14 +87,14 @@ public class SelectorParser { this(new StringReader(""));
}
- public BooleanExpression parse(String sql) throws AMQInvalidSelectorException {
+ public BooleanExpression parse(String sql) throws AMQInvalidArgumentException {
this.ReInit(new StringReader(sql));
try {
return this.JmsSelector();
}
catch (Throwable e) {
- throw (AMQInvalidSelectorException)new AMQInvalidSelectorException(sql).initCause(e);
+ throw (AMQInvalidArgumentException)new AMQInvalidArgumentException(sql).initCause(e);
}
}
|