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 69ee4d3 commit e8e3297
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import javax.xml.stream.XMLStreamException;

import tools.jackson.core.*;
import tools.jackson.core.exc.WrappedIOException;
import tools.jackson.core.exc.JacksonIOException;
import tools.jackson.databind.*;
import tools.jackson.databind.cfg.GeneratorSettings;
import tools.jackson.databind.jsontype.TypeSerializer;
Expand Down Expand Up @@ -301,7 +301,7 @@ protected ToXmlGenerator _asXmlGenerator(JsonGenerator gen)
protected JacksonException _wrapAsJacksonE(JsonGenerator g, Exception e)
{
if (e instanceof IOException) {
return WrappedIOException.construct((IOException) e);
return JacksonIOException.construct((IOException) e);
}
// 17-Jan-2021, tatu: Should we do something else here? Presumably
// this exception has map set up
Expand Down

0 comments on commit e8e3297

Please sign in to comment.