Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java @ 725:dde7f51dbe1e
Improved exception handling while feeding an artifact.
gnv-artifacts/trunk@757 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 10 Mar 2010 13:27:14 +0000 |
parents | 078ba6799bd2 |
children | b3f922908a31 |
comparison
equal
deleted
inserted
replaced
724:9ba6bb85d6dd | 725:dde7f51dbe1e |
---|---|
255 sVisible = Boolean.parseBoolean(ip.getValue()); | 255 sVisible = Boolean.parseBoolean(ip.getValue()); |
256 } | 256 } |
257 } | 257 } |
258 } | 258 } |
259 } catch (NumberFormatException e) { | 259 } catch (NumberFormatException e) { |
260 log.error(e, e); | 260 log.warn(e, e); |
261 throw new StateException(e); | 261 XMLUtils.toStream( |
262 feedFailure("not.a.number"), | |
263 outputStream); | |
264 return; | |
262 } | 265 } |
263 | 266 |
264 try { | 267 try { |
265 Collection<KeyValueDescibeData> parameters = | 268 Collection<KeyValueDescibeData> parameters = |
266 getParameters(uuid); | 269 getParameters(uuid); |