Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightSingleParser.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 | 8926571e47fb |
children | 26685b846a29 |
comparison
equal
deleted
inserted
replaced
3661:3ea5e835ecce | 3662:0d27d02b1208 |
---|---|
32 @Override | 32 @Override |
33 protected void handleDataLine(ImportBedHeight obj, String line) { | 33 protected void handleDataLine(ImportBedHeight obj, String line) { |
34 String[] values = line.split(SEPERATOR_CHAR); | 34 String[] values = line.split(SEPERATOR_CHAR); |
35 | 35 |
36 if (values == null || values.length < 6) { | 36 if (values == null || values.length < 6) { |
37 //log.warn("Error while parsing data line: '" + line + "'"); | 37 //log.warn("BSP: Error while parsing data line: '" + line + "'"); |
38 return; | 38 return; |
39 } | 39 } |
40 | 40 |
41 try { | 41 try { |
42 ImportBedHeightSingleValue value = new ImportBedHeightSingleValue( | 42 ImportBedHeightSingleValue value = new ImportBedHeightSingleValue( |
50 ); | 50 ); |
51 | 51 |
52 obj.addValue(value); | 52 obj.addValue(value); |
53 } | 53 } |
54 catch (ParseException e) { | 54 catch (ParseException e) { |
55 log.warn("Error while parsing data row.", e); | 55 log.warn("BSP: Error while parsing data row.", e); |
56 } | 56 } |
57 } | 57 } |
58 } | 58 } |
59 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 59 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |