Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.google.firebase;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class FirebaseApiNotAvailableException extends FirebaseException {
|
||||
public FirebaseApiNotAvailableException(String str) {
|
||||
super(str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.firebase;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class FirebaseException extends Exception {
|
||||
@Deprecated
|
||||
protected FirebaseException() {
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public FirebaseException(String str) {
|
||||
super(str);
|
||||
Preconditions.checkNotEmpty(str, "Detail message must not be empty");
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public FirebaseException(String str, Throwable th) {
|
||||
super(str, th);
|
||||
Preconditions.checkNotEmpty(str, "Detail message must not be empty");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.google.firebase;
|
||||
|
||||
import com.google.android.gms.common.api.Status;
|
||||
import com.google.android.gms.common.api.internal.StatusExceptionMapper;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class FirebaseExceptionMapper implements StatusExceptionMapper {
|
||||
@Override // com.google.android.gms.common.api.internal.StatusExceptionMapper
|
||||
public final Exception getException(Status status) {
|
||||
return status.getStatusCode() == 8 ? new FirebaseException(status.zza()) : new FirebaseApiNotAvailableException(status.zza());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user