[Schmitzm-commits] r587 - branches/1.0-gt2-2.6/src/schmitzm/geotools/feature

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Nov 26 15:34:32 CET 2009


Author: alfonx
Date: 2009-11-26 15:34:32 +0100 (Thu, 26 Nov 2009)
New Revision: 587

Modified:
   branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java
Log:
better exception handling

Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java	2009-11-26 14:34:06 UTC (rev 586)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java	2009-11-26 14:34:32 UTC (rev 587)
@@ -105,7 +105,8 @@
 		try {
 			return CQL.toFilter(rule);
 		} catch (CQLException err) {
-			throw new RuntimeException("Exceptino while parsing : " + rule, err);
+			LOGGER.error("Exception while parsing : " + rule, err);
+			return Filter.INCLUDE;
 		}
 	}
 



More information about the Schmitzm-commits mailing list