User: starksm
Date: 02/04/09 16:55:57
Modified: src/main/org/jboss/mq/selectors Tag: Branch_2_4
Selector.java
Log:
Treat empty selectors as null selectors and include the selector
in the InvalidSelectorException. Fixes Bug #537564.
Revision Changes Path
No revision
No revision
1.3.2.3 +3 -3 jbossmq/src/main/org/jboss/mq/selectors/Selector.java
Index: Selector.java
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/selectors/Selector.java,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -r1.3.2.2 -r1.3.2.3
--- Selector.java 28 Nov 2001 06:15:32 -0000 1.3.2.2
+++ Selector.java 9 Apr 2002 23:55:57 -0000 1.3.2.3
@@ -21,7 +21,7 @@
* @author Norbert Lataille ([EMAIL PROTECTED])
* @author Juha Lindfors ([EMAIL PROTECTED])
* @created August 16, 2001
- * @version $Revision: 1.3.2.2 $
+ * @version $Revision: 1.3.2.3 $
*/
public class Selector
{
@@ -42,11 +42,11 @@
result = bob.parse( sel, identifiers );
} catch ( Exception e )
{
- InvalidSelectorException exception = new InvalidSelectorException( "The
selector is invalid." );
+ InvalidSelectorException exception = new InvalidSelectorException("The
selector is invalid:"+sel);
exception.setLinkedException( e );
throw exception;
}
-
+
//Log.notice(result.toString());
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development