what-the-bank/sources/com/google/protobuf/InvalidProtocolBufferExcept...

68 lines
2.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.protobuf;
import java.io.IOException;
import o.InterfaceC16581pUl;
/* loaded from: classes2.dex */
public class InvalidProtocolBufferException extends IOException {
public InterfaceC16581pUl b;
public boolean e;
public InvalidProtocolBufferException(String str) {
super(str);
this.b = null;
}
public InvalidProtocolBufferException(IOException iOException) {
super(iOException.getMessage(), iOException);
this.b = null;
}
public static InvalidProtocolBufferException g() {
return new InvalidProtocolBufferException("While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.");
}
public static InvalidProtocolBufferException i() {
return new InvalidProtocolBufferException("CodedInputStream encountered an embedded string or message which claimed to have negative size.");
}
public static InvalidProtocolBufferException b() {
return new InvalidProtocolBufferException("CodedInputStream encountered a malformed varint.");
}
public static InvalidProtocolBufferException d() {
return new InvalidProtocolBufferException("Protocol message contained an invalid tag (zero).");
}
public static InvalidProtocolBufferException c() {
return new InvalidProtocolBufferException("Protocol message end-group tag did not match expected tag.");
}
public static InvalidWireTypeException e() {
return new InvalidWireTypeException("Protocol message tag had invalid wire type.");
}
/* loaded from: classes2.dex */
public static class InvalidWireTypeException extends InvalidProtocolBufferException {
public InvalidWireTypeException(String str) {
super(str);
}
}
public static InvalidProtocolBufferException h() {
return new InvalidProtocolBufferException("Protocol message had too many levels of nesting. May be malicious. Use CodedInputStream.setRecursionLimit() to increase the depth limit.");
}
public static InvalidProtocolBufferException j() {
return new InvalidProtocolBufferException("Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit.");
}
public static InvalidProtocolBufferException f() {
return new InvalidProtocolBufferException("Failed to parse the message.");
}
public static InvalidProtocolBufferException a() {
return new InvalidProtocolBufferException("Protocol message had invalid UTF-8.");
}
}