Skip to content
Snippets Groups Projects
Commit c7a7c66f authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Improving error messaging (passing on to client)

parent a295a208
Branches
Tags
No related merge requests found
...@@ -91,6 +91,7 @@ public class AppleScabModel extends I18nImpl implements Model{ ...@@ -91,6 +91,7 @@ public class AppleScabModel extends I18nImpl implements Model{
this.accumulateMills(); this.accumulateMills();
} catch (WeatherObservationListException ex) { } catch (WeatherObservationListException ex) {
Logger.getLogger(AppleScabModel.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(AppleScabModel.class.getName()).log(Level.SEVERE, null, ex);
throw new ModelExcecutionException(ex.getMessage());
} }
// Looping through background data, adding as much as possible // Looping through background data, adding as much as possible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment