Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java @ 5901:92bc0aa3831d
BHP: more informative error instead of warning if file can not be imported.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 06 May 2013 11:38:50 +0200 |
parents | 1830dae8cb9b |
children | 4c3ccf2b0304 |
comparison
equal
deleted
inserted
replaced
5900:8698e3284b7a | 5901:92bc0aa3831d |
---|---|
353 if (bht != null) { | 353 if (bht != null) { |
354 obj.setType(new ImportBedHeightType(bht)); | 354 obj.setType(new ImportBedHeightType(bht)); |
355 return true; | 355 return true; |
356 } | 356 } |
357 | 357 |
358 log.warn("Unknown bed height type: '" + tmp + "'"); | 358 log.error("Unknown bed height type: '" + tmp + "'. File ignored."); |
359 } | 359 } |
360 | 360 |
361 return false; | 361 return false; |
362 } | 362 } |
363 | 363 |