1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-23 08:43:15 +02:00

Catch ArrayIndexOutOfBoundsException

This commit is contained in:
OliE
2017-11-26 07:58:31 +01:00
parent de66323618
commit ae1bdae358

View File

@@ -305,6 +305,8 @@ public class OpenScale {
throw new IOException("Can't parse date format. Please set the date time format as <dd.MM.yyyy HH:mm> (e.g. 31.10.2014 05:23)");
} catch (NumberFormatException e) {
throw new IOException("Can't parse float number (" + e.getMessage()+")");
} catch (ArrayIndexOutOfBoundsException e) {
throw new IOException("Can't parse format column number mismatch");
}
updateScaleData();