Skip to content

Commit

Permalink
Fix UnwrappedIOException->JacksonIOException
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 29, 2023
1 parent bec2fed commit 33de946
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import javax.ws.rs.ext.*;

import tools.jackson.core.*;
import tools.jackson.core.exc.WrappedIOException;
import tools.jackson.core.exc.JacksonIOException;
import tools.jackson.databind.*;
import tools.jackson.dataformat.xml.JacksonXmlAnnotationIntrospector;
import tools.jackson.dataformat.xml.XmlMapper;
Expand Down Expand Up @@ -215,7 +215,7 @@ protected JsonParser _createParser(ObjectReader reader, InputStream rawStream)
wrappedStream.unread(firstByte);
return reader.createParser(wrappedStream);
} catch (IOException e) {
throw WrappedIOException.construct(e);
throw JacksonIOException.construct(e);
}
}
}

0 comments on commit 33de946

Please sign in to comment.