diff artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java @ 9619:63bbd5e45839

#21 WMS Legend
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Thu, 10 Oct 2019 16:08:47 +0200
parents 787fc085459b
children
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java	Thu Oct 10 16:02:31 2019 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java	Thu Oct 10 16:08:47 2019 +0200
@@ -61,7 +61,7 @@
 
             final String river = uinfo.getRiver();
             if (!UedauernConfiguration.filesExistsForRiver(river))
-                throw new IllegalArgumentException("error_no_data_for_river");
+                throw new IllegalArgumentException("error_no_data_for_river"); // wrong config could be thrown here as well...
         }
         return true;
     }

http://dive4elements.wald.intevation.org