Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ddec68c

Browse files
committed
Avoid throwing raw RuntimeException
1 parent a126c3a commit ddec68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/tech/tablesaw/table/SubTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void addRow(int rowIndex, Table sourceTable) {
102102
categoryColumn.add(sourceTable.categoryColumn(i).get(rowIndex));
103103
break;
104104
default:
105-
throw new RuntimeException("Unhandled column type updating columns");
105+
throw new IllegalStateException("Unhandled column type updating columns");
106106
}
107107
}
108108
}

0 commit comments

Comments
 (0)