Skip to content

Commit f04584b

Browse files
committed
Update of error message regexes
1 parent 66d26f6 commit f04584b

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

xml/errors.xml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<error regexp="check the manual that corresponds to your (MySQL|MariaDB) server version"/>
1212
<error regexp="Unknown column '[^ ]+' in 'field list'"/>
1313
<error regexp="MySqlClient\."/>
14-
<error regexp="com\.mysql\.jdbc\.exceptions"/>
1514
<error regexp="Zend_Db_Statement_Mysqli_Exception"/>
15+
<error regexp="com\.mysql\.jdbc"/>
1616
</dbms>
1717

1818
<!-- PostgreSQL -->
@@ -24,6 +24,9 @@
2424
<error regexp="PG::SyntaxError:"/>
2525
<error regexp="org\.postgresql\.util\.PSQLException"/>
2626
<error regexp="ERROR:\s\ssyntax error at or near"/>
27+
<error regexp="ERROR: parser: parse error at or near"/>
28+
<error regexp="PostgreSQL query failed"/>
29+
<error regexp="org\.postgresql\.jdbc"/>
2730
</dbms>
2831

2932
<!-- Microsoft SQL Server -->
@@ -36,13 +39,14 @@
3639
<error regexp="System\.Data\.SqlClient\.SqlException"/>
3740
<error regexp="(?s)Exception.*?\WRoadhouse\.Cms\."/>
3841
<error regexp="Microsoft SQL Native Client error '[0-9a-fA-F]{8}"/>
39-
<error regexp="com\.microsoft\.sqlserver\.jdbc\.SQLServerException"/>
42+
<error regexp="\[SQL Server\]"/>
4043
<error regexp="ODBC SQL Server Driver"/>
4144
<error regexp="ODBC Driver \d+ for SQL Server"/>
4245
<error regexp="SQLServer JDBC Driver"/>
43-
<error regexp="macromedia\.jdbc\.sqlserver"/>
4446
<error regexp="com\.jnetdirect\.jsql"/>
4547
<error regexp="SQLSrvException"/>
48+
<error regexp="macromedia\.jdbc\.sqlserver"/>
49+
<error regexp="com\.microsoft\.sqlserver\.jdbc"/>
4650
</dbms>
4751

4852
<!-- Microsoft Access -->
@@ -61,9 +65,10 @@
6165
<error regexp="Oracle.*?Driver"/>
6266
<error regexp="Warning.*?\Woci_"/>
6367
<error regexp="Warning.*?\Wora_"/>
64-
<error regexp="oracle\.jdbc\.driver"/>
6568
<error regexp="quoted string not properly terminated"/>
6669
<error regexp="SQL command not properly ended"/>
70+
<error regexp="macromedia\.jdbc\.oracle"/>
71+
<error regexp="oracle\.jdbc"/>
6772
</dbms>
6873

6974
<!-- IBM DB2 -->
@@ -72,12 +77,14 @@
7277
<error regexp="DB2 SQL error"/>
7378
<error regexp="\bdb2_\w+\("/>
7479
<error regexp="SQLSTATE.+SQLCODE"/>
80+
<error regexp="com\.ibm\.db2\.jcc"/>
7581
</dbms>
7682

7783
<!-- Informix -->
7884
<dbms value="Informix">
7985
<error regexp="Exception.*?Informix"/>
8086
<error regexp="Informix ODBC Driver"/>
87+
<error regexp="ODBC Informix driver"/>
8188
<error regexp="com\.informix\.jdbc"/>
8289
<error regexp="weblogic\.jdbc\.informix"/>
8390
</dbms>
@@ -86,6 +93,7 @@
8693
<dbms value="Firebird">
8794
<error regexp="Dynamic SQL Error"/>
8895
<error regexp="Warning.*?ibase_"/>
96+
<error regexp="org\.firebirdsql\.jdbc"/>
8997
</dbms>
9098

9199
<!-- SQLite -->
@@ -98,12 +106,16 @@
98106
<error regexp="\[SQLITE_ERROR\]"/>
99107
<error regexp="SQLite error \d+:"/>
100108
<error regexp="sqlite3.OperationalError:"/>
109+
<error regexp="SQLite3::SQLException"/>
110+
<error regexp="org\.sqlite\.JDBC"/>
101111
</dbms>
102112

103113
<!-- SAP MaxDB -->
104114
<dbms value="SAP MaxDB">
105115
<error regexp="SQL error.*?POS([0-9]+)"/>
106116
<error regexp="Warning.*?maxdb"/>
117+
<error regexp="DriverSapDB"/>
118+
<error regexp="com\.sap\.dbtech\.jdbc"/>
107119
</dbms>
108120

109121
<!-- Sybase -->
@@ -120,6 +132,7 @@
120132
<error regexp="Warning.*?ingres_"/>
121133
<error regexp="Ingres SQLSTATE"/>
122134
<error regexp="Ingres\W.*?Driver"/>
135+
<error regexp="com\.ingres\.gcf\.jdbc"/>
123136
</dbms>
124137

125138
<!-- Frontbase -->
@@ -130,14 +143,13 @@
130143

131144
<!-- HSQLDB -->
132145
<dbms value="HSQLDB">
133-
<error regexp="org\.hsqldb\.jdbc"/>
134146
<error regexp="Unexpected end of command in statement \["/>
135147
<error regexp="Unexpected token.*?in statement \["/>
148+
<error regexp="org\.hsqldb\.jdbc"/>
136149
</dbms>
137150

138151
<!-- H2 -->
139152
<dbms value="H2">
140153
<error regexp="org\.h2\.jdbc"/>
141154
</dbms>
142-
143155
</root>

0 commit comments

Comments
 (0)