From: Felix Dörre Date: Tue, 26 Sep 2017 19:01:16 +0000 (+0200) Subject: add: improve error message on SQL syntax error X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=22eebf7bb28a1298b2ab3e47d58f761417145418 add: improve error message on SQL syntax error Change-Id: I8f27402492c12c4a7c3d236f60dde7789c1d9157 --- diff --git a/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java b/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java index 808aee6a..576173c6 100644 --- a/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java +++ b/util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java @@ -227,6 +227,7 @@ public class SQLTestingVisitor extends ASTVisitor { } } } catch (SQLException e) { + errMsg(stmt, "SQL exception occurred, probably a syntax error in the SQL statement. See exception for more details."); throw new Error(e); } } catch (InterruptedException e) {