comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModel.java @ 5416:4ee97d914501

Morpho-Importer: Do not mask database exceptions as broken files
author Tom Gottfried <tom.gottfried@intevation.de>
date Tue, 26 Mar 2013 09:39:34 +0100
parents c7ce7c9e405e
children 3bd786772798
comparison
equal deleted inserted replaced
5415:5bac3e75f59c 5416:4ee97d914501
50 50
51 public void addValue(ImportFlowVelocityModelValue value) { 51 public void addValue(ImportFlowVelocityModelValue value) {
52 this.values.add(value); 52 this.values.add(value);
53 } 53 }
54 54
55 public void storeDependencies(River river) throws SQLException, 55 public void storeDependencies(River river) {
56 ConstraintViolationException {
57 log.debug("store dependencies"); 56 log.debug("store dependencies");
58 57
59 if (dischargeZone == null) { 58 if (dischargeZone == null) {
60 log.warn("skip flow velocity model: No discharge zone specified."); 59 log.warn("skip flow velocity model: No discharge zone specified.");
61 return; 60 return;

http://dive4elements.wald.intevation.org