Rabbit-R1/android (non root)/java/sources/com/google/android/exoplayer2/ParserException.java

37 lines
1.2 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package com.google.android.exoplayer2;
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;
}
}