@@ -730,7 +730,7 @@ public void testPreparePlan() throws KeyManagementException, NoSuchAlgorithmExce
730730 System .out .println ("Exception message is " + str .toString ());
731731 }
732732 // Should have XDMP-OPTION exceptions.
733- assertTrue ("Exceptions not found" , str .toString ().contains ("Error running JavaScript request: XDMP-OPTION" ));
733+ assertTrue ("Exceptions not found" , str .toString ().contains ("XDMP-OPTION" ));
734734 assertTrue ("Exceptions not found" , str .toString ().contains ("Invalid option \" optimize=-3\" " ));
735735 }
736736
@@ -938,7 +938,8 @@ public void testInvalidRangeIndexDate() throws KeyManagementException, NoSuchAlg
938938 System .out .println ("Exception message is " + str .toString ());
939939 }
940940 // Should have SQL-NOCOLUMN exceptions.
941- assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN: Column not found: date_invalid" ));
941+ assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN" ));
942+ assertTrue ("Exceptions not found" , str .toString ().contains ("Column not found: date_invalid" ));
942943 }
943944
944945 /*
@@ -1028,7 +1029,8 @@ public void testInvalidRefferanceQualifier() throws KeyManagementException, NoSu
10281029 System .out .println ("Exception message is " + str .toString ());
10291030 }
10301031 // Should have SQL-NOCOLUMN exceptions.
1031- assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN: Column not found: myCity_invalid.city" ));
1032+ assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN" ));
1033+ assertTrue ("Exceptions not found" , str .toString ().contains ("Column not found: myCity_invalid.city" ));
10321034 }
10331035
10341036 /*
@@ -1077,7 +1079,8 @@ public void testInvalidViewCol() throws KeyManagementException, NoSuchAlgorithmE
10771079 System .out .println ("Exception message is " + str .toString ());
10781080 }
10791081 // Should have SQL-NOCOLUMN exceptions.
1080- assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN: Column not found: invalid_view.city" ));
1082+ assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN" ));
1083+ assertTrue ("Exceptions not found" , str .toString ().contains ("Column not found: invalid_view.city" ));
10811084 }
10821085
10831086 /*
@@ -1122,7 +1125,8 @@ public void testInvalidInnerDocElements() throws KeyManagementException, NoSuchA
11221125 System .out .println ("Exception message is " + str .toString ());
11231126 }
11241127 // Should have SQL-NOCOLUMN exceptions.
1125- assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN: Column not found: /foo/bar" ));
1128+ assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN" ));
1129+ assertTrue ("Exceptions not found" , str .toString ().contains ("Column not found: /foo/bar" ));
11261130
11271131 //null uri on join inner doc
11281132 try {
@@ -1146,7 +1150,8 @@ public void testInvalidInnerDocElements() throws KeyManagementException, NoSuchA
11461150 str .append (ex .getMessage ());
11471151 }
11481152 // Should have SQL-NOCOLUMN exceptions.
1149- assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN: Column not found: {foo: bar}" ));
1153+ assertTrue ("Exceptions not found" , str .toString ().contains ("SQL-NOCOLUMN" ));
1154+ assertTrue ("Exceptions not found" , str .toString ().contains ("Column not found: {foo: bar}" ));
11501155 }
11511156
11521157 @ AfterClass
0 commit comments