Initial commit
This commit is contained in:
30
sources/com/facebook/places/internal/ScannerException.java
Normal file
30
sources/com/facebook/places/internal/ScannerException.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.facebook.places.internal;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class ScannerException extends Exception {
|
||||
public Type type;
|
||||
|
||||
public enum Type {
|
||||
NOT_SUPPORTED,
|
||||
PERMISSION_DENIED,
|
||||
DISABLED,
|
||||
SCAN_ALREADY_IN_PROGRESS,
|
||||
UNKNOWN_ERROR,
|
||||
TIMEOUT
|
||||
}
|
||||
|
||||
public ScannerException(Type type) {
|
||||
super("Type: " + type.name());
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public ScannerException(Type type, String str) {
|
||||
super(str);
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public ScannerException(Type type, Exception exc) {
|
||||
super("Type: " + type.name(), exc);
|
||||
this.type = type;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user