Strabon

changeset 1530:b372e69a8936 temporals

Added the Exceptions in LiteralTable.java where the GMLread() is also used.
author George Stamoulis <gstam@di.uoa.gr>
date Thu Sep 22 16:29:12 2016 +0300 (2016-09-22)
parents 74abaa6b1821
children 142b6555a010
files generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java	Thu Sep 22 15:27:25 2016 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java	Thu Sep 22 16:29:12 2016 +0300
     1.3 @@ -5,18 +5,23 @@
     1.4   */
     1.5  package org.openrdf.sail.generaldb.schema;
     1.6  
     1.7 +import java.io.IOException;
     1.8  import java.sql.SQLException;
     1.9  import java.sql.Timestamp;
    1.10  
    1.11  import javax.xml.bind.JAXBException;
    1.12 +import javax.xml.parsers.ParserConfigurationException;
    1.13  
    1.14  import org.openrdf.query.algebra.evaluation.function.spatial.AbstractWKT;
    1.15  import org.openrdf.query.algebra.evaluation.function.spatial.StrabonPolyhedron;
    1.16 +
    1.17  import eu.earthobservatory.constants.TemporalConstants;
    1.18 +
    1.19  import org.openrdf.query.algebra.evaluation.util.JTSWrapper;
    1.20  import org.openrdf.sail.generaldb.managers.LiteralManager;
    1.21  import org.slf4j.Logger;
    1.22  import org.slf4j.LoggerFactory;
    1.23 +import org.xml.sax.SAXException;
    1.24  
    1.25  import com.vividsolutions.jts.geom.Geometry;
    1.26  import com.vividsolutions.jts.io.ParseException;
    1.27 @@ -239,6 +244,15 @@
    1.28  		} catch (JAXBException e) {
    1.29  			logger.error("[Strabon.insertGML] Error during insertion of GML literal.", e);
    1.30  		}
    1.31 +		catch (ParserConfigurationException e) {
    1.32 +			logger.error("[Strabon.insertGML] Error during insertion of GML literal.", e);
    1.33 +		}
    1.34 +		catch (IOException e) {
    1.35 +			logger.error("[Strabon.insertGML] Error during insertion of GML literal.", e);
    1.36 +		}
    1.37 +		catch (SAXException e) {
    1.38 +			logger.error("[Strabon.insertGML] Error during insertion of GML literal.", e);
    1.39 +		}
    1.40  		
    1.41  	}
    1.42