package androidx.media3.common; import java.io.IOException; /* loaded from: classes2.dex */ public class ParserException extends IOException { public final boolean contentIsMalformed; public final int dataType; public static ParserException createForMalformedDataOfUnknownType(String str, Throwable th) { return new ParserException(str, th, true, 0); } public static ParserException createForMalformedContainer(String str, Throwable th) { return new ParserException(str, th, true, 1); } public static ParserException createForMalformedManifest(String str, Throwable th) { return new ParserException(str, th, true, 4); } public static ParserException createForManifestWithUnsupportedFeature(String str, Throwable th) { return new ParserException(str, th, false, 4); } public static ParserException createForUnsupportedContainerFeature(String str) { return new ParserException(str, null, false, 1); } /* JADX INFO: Access modifiers changed from: protected */ public ParserException(String str, Throwable th, boolean z, int i) { super(str, th); this.contentIsMalformed = z; this.dataType = i; } @Override // java.lang.Throwable public String getMessage() { return super.getMessage() + "{contentIsMalformed=" + this.contentIsMalformed + ", dataType=" + this.dataType + "}"; } }