Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/utils/GeometryUtils.java @ 5173:14d19313268a
Catch IllegalArgumentException instead of RuntimeException, added logging.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 05 Mar 2013 09:51:55 +0100 |
parents | c1b60f8c3390 |
children | 9d36ddf7dbd3 |
comparison
equal
deleted
inserted
replaced
5172:a51515056c45 | 5173:14d19313268a |
---|---|
69 } | 69 } |
70 | 70 |
71 return max; | 71 return max; |
72 } | 72 } |
73 } | 73 } |
74 catch(RuntimeException e) { | 74 catch(IllegalArgumentException iae) { |
75 logger.warn("No vaild river axis forund for " + rivername); | |
75 return null; | 76 return null; |
76 } | 77 } |
77 | 78 |
78 return null; | 79 return null; |
79 } | 80 } |