mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
37 lines
1.2 KiB
Java
37 lines
1.2 KiB
Java
|
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;
|
||
|
}
|
||
|
}
|