# HG changeset patch # User Felix Wolfsteller # Date 1377858651 -7200 # Node ID 40da4a6e2cfbe4d5d40ac04a94685b8beeb372d4 # Parent 13c2762270a66f70496aaa05b62fcf494ebbdfbd SedimentLoadCalculation: Log an error on unknown mode. diff -r 13c2762270a6 -r 40da4a6e2cfb artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Fri Aug 30 09:48:11 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java Fri Aug 30 12:30:51 2013 +0200 @@ -122,6 +122,9 @@ return new CalculationResult( results.toArray(new SedimentLoadResult[results.size()]), this); } + else { + logger.error("Unknown mode " + yearEpoch); + } return null; }