File tree 1 file changed +2
-2
lines changed
ion/src/main/java/com/fasterxml/jackson/dataformat/ion
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ public JsonToken nextToken() throws JacksonException
508
508
try {
509
509
type = _reader .next ();
510
510
} catch (IonException e ) {
511
- _constructReadException (e .getMessage (), e );
511
+ throw _constructReadException (e .getMessage (), e );
512
512
}
513
513
if (type == null ) {
514
514
if (_streamReadContext .inRoot ()) { // EOF?
@@ -530,7 +530,7 @@ public JsonToken nextToken() throws JacksonException
530
530
// field name symbol cannot be resolved.
531
531
_streamReadContext .setCurrentName (inStruct ? _reader .getFieldName () : null );
532
532
} catch (UnknownSymbolException e ) {
533
- _constructReadException (e .getMessage (), e );
533
+ throw _constructReadException (e .getMessage (), e );
534
534
}
535
535
JsonToken t = _tokenFromType (type );
536
536
// and return either field name first
You can’t perform that action at this time.
0 commit comments