Revision 76 org.gvsig.jcrs/trunk/libJCRS/src/org/gvsig/crs/repository/EsriRepository.java

View differences:

EsriRepository.java
92 92
				return null;	
93 93
			cadWKT = result.getString("esri_wkt");			
94 94
		} catch (SQLException e1) {
95
		    LOG.error("Error executing the SQL", e1);
95
		    LOG.info("Error executing the SQL", e1);
96
		    return null;
96 97
		}		
97 98
		cadWKT = cadWKT.substring(0, cadWKT.length()-1) + ", AUTHORITY[\"ESRI\","+ Integer.parseInt(code)+"]]";
98 99
		if (cadWKT.charAt(0) == 'P'){
......
103 104
		try {
104 105
			crs = new Crs(Integer.parseInt(code),cadWKT);
105 106
		} catch (CrsException e) {
106
		    LOG.error("Impossible to parse the CRS", e);
107
		    LOG.info("Impossible to parse the CRS", e);
108
		    return null;
107 109
		}
108 110
		
109 111
		return crs;

Also available in: Unified diff