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

More input robustness

parent 584e6f34
No related branches found
No related tags found
No related merge requests found
......@@ -315,7 +315,7 @@ public class RoughageService {
Double wateringAmount = Double.parseDouble(elems[1]);
wateringMap.put(wateringDate, wateringAmount);
}
catch(ParseException ex)
catch(ParseException | ArrayIndexOutOfBoundsException ex)
{
// Skip to next
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment