@@ -148,7 +148,7 @@ public void testSupportedSettings() {
148148 public void testAllowBackslashEscapingAnyCharacterDefault () {
149149 assertThatThrownBy (() -> parser .parse (new StringReader (BACKSLASH_ESCAPED_TEST_STRING ), "" ))
150150 .isInstanceOf (RDFParseException .class )
151- .hasMessage ("Found IOException during parsing [line 1, column 5]" );
151+ .hasMessage ("Found exception during parsing [line 1, column 5]" );
152152 }
153153
154154 @ Test
@@ -163,14 +163,14 @@ public void testAllowBackslashEscapingAnyCharacterDisabled() {
163163 parser .set (JSONSettings .ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER , false );
164164 assertThatThrownBy (() -> parser .parse (new StringReader (BACKSLASH_ESCAPED_TEST_STRING ), "" ))
165165 .isInstanceOf (RDFParseException .class )
166- .hasMessage ("Found IOException during parsing [line 1, column 5]" );
166+ .hasMessage ("Found exception during parsing [line 1, column 5]" );
167167 }
168168
169169 @ Test
170170 public void testAllowCommentsDefault () {
171171 assertThatThrownBy (() -> parser .parse (new StringReader (COMMENTS_TEST_STRING ), "" ))
172172 .isInstanceOf (RDFParseException .class )
173- .hasMessage ("Found IOException during parsing [line 1, column 3]" );
173+ .hasMessage ("Found exception during parsing [line 1, column 3]" );
174174 }
175175
176176 @ Test
@@ -185,14 +185,14 @@ public void testAllowCommentsDisabled() {
185185 parser .set (JSONSettings .ALLOW_COMMENTS , false );
186186 assertThatThrownBy (() -> parser .parse (new StringReader (COMMENTS_TEST_STRING ), "" ))
187187 .isInstanceOf (RDFParseException .class )
188- .hasMessage ("Found IOException during parsing [line 1, column 3]" );
188+ .hasMessage ("Found exception during parsing [line 1, column 3]" );
189189 }
190190
191191 @ Test
192192 public void testAllowNonNumericNumbersDefault () {
193193 assertThatThrownBy (() -> parser .parse (new StringReader (NON_NUMERIC_NUMBERS_TEST_STRING ), "" ))
194194 .isInstanceOf (RDFParseException .class )
195- .hasMessage ("Found IOException during parsing [line 1, column 74]" );
195+ .hasMessage ("Found exception during parsing [line 1, column 74]" );
196196 }
197197
198198 @ Test
@@ -207,14 +207,14 @@ public void testAllowNonNumericNumbersDisabled() {
207207 parser .set (JSONSettings .ALLOW_NON_NUMERIC_NUMBERS , false );
208208 assertThatThrownBy (() -> parser .parse (new StringReader (NON_NUMERIC_NUMBERS_TEST_STRING ), "" ))
209209 .isInstanceOf (RDFParseException .class )
210- .hasMessage ("Found IOException during parsing [line 1, column 74]" );
210+ .hasMessage ("Found exception during parsing [line 1, column 74]" );
211211 }
212212
213213 @ Test
214214 public void testAllowNumericLeadingZeroesDefault () {
215215 assertThatThrownBy (() -> parser .parse (new StringReader (NUMERIC_LEADING_ZEROES_TEST_STRING ), "" ))
216216 .isInstanceOf (RDFParseException .class )
217- .hasMessage ("Found IOException during parsing [line 1, column 72]" );
217+ .hasMessage ("Found exception during parsing [line 1, column 72]" );
218218 }
219219
220220 @ Test
@@ -229,14 +229,14 @@ public void testAllowNumericLeadingZeroesDisabled() {
229229 parser .set (JSONSettings .ALLOW_NUMERIC_LEADING_ZEROS , false );
230230 assertThatThrownBy (() -> parser .parse (new StringReader (NUMERIC_LEADING_ZEROES_TEST_STRING ), "" ))
231231 .isInstanceOf (RDFParseException .class )
232- .hasMessage ("Found IOException during parsing [line 1, column 72]" );
232+ .hasMessage ("Found exception during parsing [line 1, column 72]" );
233233 }
234234
235235 @ Test
236236 public void testAllowSingleQuotesDefault () {
237237 assertThatThrownBy (() -> parser .parse (new StringReader (SINGLE_QUOTES_TEST_STRING ), "" ))
238238 .isInstanceOf (RDFParseException .class )
239- .hasMessage ("Found IOException during parsing [line 1, column 3]" );
239+ .hasMessage ("Found exception during parsing [line 1, column 3]" );
240240 }
241241
242242 @ Test
@@ -251,14 +251,14 @@ public void testAllowSingleQuotesDisabled() {
251251 parser .set (JSONSettings .ALLOW_SINGLE_QUOTES , false );
252252 assertThatThrownBy (() -> parser .parse (new StringReader (SINGLE_QUOTES_TEST_STRING ), "" ))
253253 .isInstanceOf (RDFParseException .class )
254- .hasMessage ("Found IOException during parsing [line 1, column 3]" );
254+ .hasMessage ("Found exception during parsing [line 1, column 3]" );
255255 }
256256
257257 @ Test
258258 public void testAllowUnquotedControlCharactersDefault () {
259259 assertThatThrownBy (() -> parser .parse (new StringReader (UNQUOTED_CONTROL_CHARS_TEST_STRING ), "" ))
260260 .isInstanceOf (RDFParseException .class )
261- .hasMessage ("Found IOException during parsing [line 1, column 75]" );
261+ .hasMessage ("Found exception during parsing [line 1, column 75]" );
262262 }
263263
264264 @ Test
@@ -273,14 +273,14 @@ public void testAllowUnquotedControlCharactersDisabled() {
273273 parser .set (JSONSettings .ALLOW_UNQUOTED_CONTROL_CHARS , false );
274274 assertThatThrownBy (() -> parser .parse (new StringReader (UNQUOTED_CONTROL_CHARS_TEST_STRING ), "" ))
275275 .isInstanceOf (RDFParseException .class )
276- .hasMessage ("Found IOException during parsing [line 1, column 75]" );
276+ .hasMessage ("Found exception during parsing [line 1, column 75]" );
277277 }
278278
279279 @ Test
280280 public void testAllowUnquotedFieldNamesDefault () {
281281 assertThatThrownBy (() -> parser .parse (new StringReader (UNQUOTED_FIELD_NAMES_TEST_STRING ), "" ))
282282 .isInstanceOf (RDFParseException .class )
283- .hasMessage ("Found IOException during parsing [line 1, column 63]" );
283+ .hasMessage ("Found exception during parsing [line 1, column 63]" );
284284 }
285285
286286 @ Test
@@ -295,14 +295,14 @@ public void testAllowUnquotedFieldNamesDisabled() {
295295 parser .set (JSONSettings .ALLOW_UNQUOTED_FIELD_NAMES , false );
296296 assertThatThrownBy (() -> parser .parse (new StringReader (UNQUOTED_FIELD_NAMES_TEST_STRING ), "" ))
297297 .isInstanceOf (RDFParseException .class )
298- .hasMessage ("Found IOException during parsing [line 1, column 63]" );
298+ .hasMessage ("Found exception during parsing [line 1, column 63]" );
299299 }
300300
301301 @ Test
302302 public void testAllowYamlCommentsDefault () {
303303 assertThatThrownBy (() -> parser .parse (new StringReader (YAML_COMMENTS_TEST_STRING ), "" ))
304304 .isInstanceOf (RDFParseException .class )
305- .hasMessage ("Found IOException during parsing [line 2, column 2]" );
305+ .hasMessage ("Found exception during parsing [line 2, column 2]" );
306306 }
307307
308308 @ Test
@@ -317,14 +317,14 @@ public void testAllowYamlCommentsDisabled() {
317317 parser .set (JSONSettings .ALLOW_YAML_COMMENTS , false );
318318 assertThatThrownBy (() -> parser .parse (new StringReader (YAML_COMMENTS_TEST_STRING ), "" ))
319319 .isInstanceOf (RDFParseException .class )
320- .hasMessage ("Found IOException during parsing [line 2, column 2]" );
320+ .hasMessage ("Found exception during parsing [line 2, column 2]" );
321321 }
322322
323323 @ Test
324324 public void testAllowTrailingCommaDefault () {
325325 assertThatThrownBy (() -> parser .parse (new StringReader (TRAILING_COMMA_TEST_STRING ), "" ))
326326 .isInstanceOf (RDFParseException .class )
327- .hasMessage ("Found IOException during parsing [line 1, column 113]" );
327+ .hasMessage ("Found exception during parsing [line 1, column 113]" );
328328 }
329329
330330 @ Test
@@ -339,7 +339,7 @@ public void testAllowTrailingCommaDisabled() {
339339 parser .set (JSONSettings .ALLOW_TRAILING_COMMA , false );
340340 assertThatThrownBy (() -> parser .parse (new StringReader (TRAILING_COMMA_TEST_STRING ), "" ))
341341 .isInstanceOf (RDFParseException .class )
342- .hasMessage ("Found IOException during parsing [line 1, column 113]" );
342+ .hasMessage ("Found exception during parsing [line 1, column 113]" );
343343 }
344344
345345 @ Test
@@ -408,7 +408,7 @@ public void testStrictDuplicateDetectionEnabled() {
408408 parser .set (JSONSettings .STRICT_DUPLICATE_DETECTION , true );
409409 assertThatThrownBy (() -> parser .parse (new StringReader (STRICT_DUPLICATE_DETECTION_TEST_STRING ), "" ))
410410 .isInstanceOf (RDFParseException .class )
411- .hasMessage ("Found IOException during parsing [line 1, column 119]" );
411+ .hasMessage ("Found exception during parsing [line 1, column 119]" );
412412 }
413413
414414 @ Test
0 commit comments