comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java @ 3662:0d27d02b1208

backend: Completed the error messages of the importer. flys-backend/trunk@5266 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 24 Aug 2012 15:47:31 +0000
parents 2e18e12fac11
children b09c095a0b7e
comparison
equal deleted inserted replaced
3661:3ea5e835ecce 3662:0d27d02b1208
130 log.debug("Number of columns: " + columnCount); 130 log.debug("Number of columns: " + columnCount);
131 wst.setNumberColumns(columnCount); 131 wst.setNumberColumns(columnCount);
132 lsBezeichner = new String[columnCount]; 132 lsBezeichner = new String[columnCount];
133 } 133 }
134 catch (NumberFormatException nfe) { 134 catch (NumberFormatException nfe) {
135 log.warn(nfe); 135 log.warn("WST: invalid number.", nfe);
136 continue; 136 continue;
137 } 137 }
138 first = false; 138 first = false;
139 continue; 139 continue;
140 } 140 }
265 265
266 BigDecimal kaem = data[0]; 266 BigDecimal kaem = data[0];
267 267
268 if (!kms.add(kaem)) { 268 if (!kms.add(kaem)) {
269 log.warn( 269 log.warn(
270 "km " + kaem + 270 "WST: km " + kaem +
271 " (line " + in.getLineNumber() + 271 " (line " + in.getLineNumber() +
272 ") found more than once. -> ignored"); 272 ") found more than once. -> ignored");
273 continue; 273 continue;
274 } 274 }
275 275

http://dive4elements.wald.intevation.org