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

View differences:

Iau2000Repository.java
89 89
		try {
90 90
			connection.shutdown();
91 91
		} catch (SQLException e) {
92
		    LOG.error("Error executing the SQL", e);
92
		    LOG.info("Error while shutting down the connection", e);
93 93
		}
94 94
		try {
95 95
			if (!result.next())
96 96
				return null;			
97 97
			cadWKT = result.getString("iau_wkt");			
98 98
		} catch (SQLException e1) {
99
		    LOG.error("Error executing the SQL", e1);
99
		    LOG.info("Error executing the SQL", e1);
100
		    return null;
100 101
		}		
101 102
		cadWKT = cadWKT.substring(0, cadWKT.length()-1) + ", AUTHORITY[\"IAU2000\","+ Integer.parseInt(code)+"]]";
102 103
		if (cadWKT.charAt(0) == 'P'){
......
107 108
		try {
108 109
			crs = new Crs(Integer.parseInt(code),cadWKT);
109 110
		} catch (CrsException e) {
110
		    LOG.error("Impossible to parse the CRS", e);
111
		    LOG.info("Impossible to parse the CRS", e);
111 112
		}
112 113
		
113 114
		return crs;

Also available in: Unified diff