]> WPIA git - gigi.git/blobdiff - util-testing/club/wpia/gigi/localisation/SQLTestingVisitor.java
add: improve error message on SQL syntax error
[gigi.git] / util-testing / club / wpia / gigi / localisation / SQLTestingVisitor.java
index 808aee6a5df6586813cee6c53a7d9478f65bd05b..576173c60cd25053a68d10a5547e449192859d85 100644 (file)
@@ -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) {