Changeset: dbb8e7c2dbbf for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/dbb8e7c2dbbf
Modified Files:
src/main/java/nl/cwi/monetdb/jdbc/MonetResultSet.java
Branch: default
Log Message:
Added missing catch (NumberFormatException e) to getBytes(col)
diffs (12 lines):
diff --git a/src/main/java/nl/cwi/monetdb/jdbc/MonetResultSet.java
b/src/main/java/nl/cwi/monetdb/jdbc/MonetResultSet.java
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetResultSet.java
+++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetResultSet.java
@@ -901,6 +901,8 @@ public class MonetResultSet extends Mone
default:
throw new SQLException("Cannot operate
on " + types[columnIndex - 1] + " type", "M1M05");
}
+ } catch (NumberFormatException e) {
+ throw newSQLNumberFormatException(e);
} catch (IndexOutOfBoundsException e) {
throw newSQLInvalidColumnIndexException(columnIndex);
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list