diff --git a/src/main/java/org/joda/beans/ser/map/JodaBeanSimpleMapReader.java b/src/main/java/org/joda/beans/ser/map/JodaBeanSimpleMapReader.java index 7afca47a..dbc947a8 100644 --- a/src/main/java/org/joda/beans/ser/map/JodaBeanSimpleMapReader.java +++ b/src/main/java/org/joda/beans/ser/map/JodaBeanSimpleMapReader.java @@ -221,7 +221,7 @@ private Object parseIterableTable(Object input, SerIterable iterable) throws Exc private Object parseIterableGrid(Object input, SerIterable iterable) throws Exception { List inputList = (List) input; if (inputList.size() < 2) { - throw new IllegalArgumentException("Expected counted iterable to be size 3"); + throw new IllegalArgumentException("Expected counted iterable to be at least size 2"); } Integer rows = (Integer) inputList.get(0); Integer columns = (Integer) inputList.get(1);