[PATCH 4 of 7] Avoid too many regular exceptions

Wald Commits scm-commit at wald.intevation.org
Fri May 25 10:49:53 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1527238038 -7200
# Node ID b5dbcbaed42bf0ca7603734bf7e746964dc70947
# Parent  8ad581d4690cc0c1738aadb503dd39e6a5d98b05
Avoid too many regular exceptions

diff -r 8ad581d4690c -r b5dbcbaed42b artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java	Fri May 25 10:46:59 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java	Fri May 25 10:47:18 2018 +0200
@@ -166,7 +166,7 @@
             return this.interpolator.value(km);
         }
         catch (final ArgumentOutsideDomainException e) {
-            e.printStackTrace();
+            // e.printStackTrace();
 
             if (this.problems != null) {
                 this.problems.addProblem(km, "bedqualityd50kmvaluefinder.missing");


More information about the Dive4Elements-commits mailing list