48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
|
package com.fasterxml.jackson.core;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
import o.BNo;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class JsonProcessingException extends IOException {
|
||
|
private BNo b;
|
||
|
|
||
|
private JsonProcessingException(String str, BNo bNo, byte b) {
|
||
|
super(str);
|
||
|
this.b = bNo;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public JsonProcessingException(String str, BNo bNo) {
|
||
|
this(str, bNo, (byte) 0);
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Throwable
|
||
|
public String getMessage() {
|
||
|
String message = super.getMessage();
|
||
|
if (message == null) {
|
||
|
message = "N/A";
|
||
|
}
|
||
|
BNo bNo = this.b;
|
||
|
if (bNo == null) {
|
||
|
return message;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder(100);
|
||
|
sb.append(message);
|
||
|
if (bNo != null) {
|
||
|
sb.append("\n at ");
|
||
|
sb.append(bNo.toString());
|
||
|
}
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Throwable
|
||
|
public String toString() {
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(getClass().getName());
|
||
|
sb.append(": ");
|
||
|
sb.append(getMessage());
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|