Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetConnection.java @ 702:b4e968e5bd74
Some improvements.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 08 Dec 2022 19:13:46 +0100 (2022-12-08) |
parents | f89882b07614 |
children | 1c9d4c2a6947 |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -2791,7 +2791,7 @@ public class MonetConnection /** * addLine adds a String of data to this object's data array. - * Note that an IndexOutOfBoundsException can be thrown when an + * Note that an ArrayIndexOutOfBoundsException can be thrown when an * attempt is made to add more than the original construction size * specified. * @@ -3257,7 +3257,7 @@ public class MonetConnection // right, some protocol violation, // skip the rest of the result error = "M0M10!" + error; - in.discardRemainder(); + in.discardRemainder(error); break; }