Strabon

changeset 259:e0f2f9edb017

prints outs to logging
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Jun 06 13:58:29 2012 +0300 (2012-06-06)
parents a4e7e9fc4d10
children 7fe20134c3b3
files runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Wed Jun 06 13:14:15 2012 +0300
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Wed Jun 06 13:58:29 2012 +0300
     1.3 @@ -417,8 +417,7 @@
     1.4  			try {
     1.5  				result = tupleQuery.evaluate();
     1.6  			} catch (QueryEvaluationException e1) {
     1.7 -				// TODO Auto-generated catch block
     1.8 -				e1.printStackTrace();
     1.9 +				logger.error("[Strabon.query] Error in query evaluation.", e1);
    1.10  			}
    1.11  			//System.out.println("-------------------------------------------");
    1.12  			//System.out.println("-                RESULTS                  -");
    1.13 @@ -554,7 +553,7 @@
    1.14  							// this is not WKT
    1.15  							logger.error("[Strabon.query] Invalid WKT.", e);
    1.16  						} catch (Exception e) {
    1.17 -							logger.error("[Strabon.query] Received exception.", e);
    1.18 +							logger.error("[Strabon.query] Received exception during KML construction.", e);
    1.19  						}
    1.20  
    1.21  						//Start populating KML here