Add a missing pass-through ctor for StreamReadException
@@ -41,12 +41,15 @@ public abstract class StreamReadException
_processor = p;
}
- protected StreamReadException(String msg, JsonLocation loc, Throwable rootCause) {
- super(msg);
- if (rootCause != null) {
- initCause(rootCause);
+ // @since 2.13
+ protected StreamReadException(JsonParser p, String msg, JsonLocation loc,
+ Throwable rootCause) {
+ super(msg, loc, rootCause);
+ _processor = p;
}
- _location = loc;
+
+ protected StreamReadException(String msg, JsonLocation loc, Throwable rootCause) {
+ super(msg, loc, rootCause);
}
/**
