9
9
*
10
10
* @since 2.10
11
11
*/
12
- public abstract class JsonReadException
12
+ public abstract class StreamReadException
13
13
extends JsonProcessingException
14
14
{
15
15
final static long serialVersionUID = 1L ;
@@ -24,22 +24,22 @@ public abstract class JsonReadException
24
24
*/
25
25
protected RequestPayload _requestPayload ;
26
26
27
- public JsonReadException (JsonParser p , String msg ) {
27
+ public StreamReadException (JsonParser p , String msg ) {
28
28
super (msg , (p == null ) ? null : p .getCurrentLocation ());
29
29
_processor = p ;
30
30
}
31
31
32
- public JsonReadException (JsonParser p , String msg , Throwable root ) {
32
+ public StreamReadException (JsonParser p , String msg , Throwable root ) {
33
33
super (msg , (p == null ) ? null : p .getCurrentLocation (), root );
34
34
_processor = p ;
35
35
}
36
36
37
- public JsonReadException (JsonParser p , String msg , JsonLocation loc ) {
37
+ public StreamReadException (JsonParser p , String msg , JsonLocation loc ) {
38
38
super (msg , loc , null );
39
39
_processor = p ;
40
40
}
41
41
42
- protected JsonReadException (String msg , JsonLocation loc , Throwable rootCause ) {
42
+ protected StreamReadException (String msg , JsonLocation loc , Throwable rootCause ) {
43
43
super (msg );
44
44
if (rootCause != null ) {
45
45
initCause (rootCause );
@@ -53,15 +53,15 @@ protected JsonReadException(String msg, JsonLocation loc, Throwable rootCause) {
53
53
*<p>
54
54
* NOTE: `this` instance is modified and no new instance is constructed.
55
55
*/
56
- public abstract JsonReadException withParser (JsonParser p );
56
+ public abstract StreamReadException withParser (JsonParser p );
57
57
58
58
/**
59
59
* Fluent method that may be used to assign payload to this exception,
60
60
* to let recipient access it for diagnostics purposes.
61
61
*<p>
62
62
* NOTE: `this` instance is modified and no new instance is constructed.
63
63
*/
64
- public abstract JsonReadException withRequestPayload (RequestPayload p );
64
+ public abstract StreamReadException withRequestPayload (RequestPayload p );
65
65
66
66
@ Override
67
67
public JsonParser getProcessor () {
0 commit comments