Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 29, 2023
1 parent 33de946 commit 9bc11f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import tools.jackson.core.JacksonException;
import tools.jackson.core.JsonParser;
import tools.jackson.core.Version;
import tools.jackson.core.exc.WrappedIOException;
import tools.jackson.core.exc.JacksonIOException;
import tools.jackson.databind.AnnotationIntrospector;
import tools.jackson.databind.ObjectMapper;
import tools.jackson.databind.ObjectReader;
Expand Down Expand Up @@ -226,7 +226,7 @@ protected JsonParser _createParser(ObjectReader reader, InputStream rawStream)
wrappedStream.unread(firstByte);
return reader.createParser(wrappedStream);
} catch (IOException e) {
throw WrappedIOException.construct(e);
throw JacksonOException.construct(e);
}
}
}

0 comments on commit 9bc11f6

Please sign in to comment.