28 lines
999 B
Java
28 lines
999 B
Java
package com.facetec.sdk;
|
|
|
|
import java.net.InetAddress;
|
|
import java.net.UnknownHostException;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public interface ju {
|
|
public static final ju e = new ju() { // from class: com.facetec.sdk.ju.3
|
|
@Override // com.facetec.sdk.ju
|
|
public final List<InetAddress> b(String str) throws UnknownHostException {
|
|
if (str == null) {
|
|
throw new UnknownHostException("hostname == null");
|
|
}
|
|
try {
|
|
return Arrays.asList(InetAddress.getAllByName(str));
|
|
} catch (NullPointerException e2) {
|
|
UnknownHostException unknownHostException = new UnknownHostException("Broken system behaviour for dns lookup of ".concat(String.valueOf(str)));
|
|
unknownHostException.initCause(e2);
|
|
throw unknownHostException;
|
|
}
|
|
}
|
|
};
|
|
|
|
List<InetAddress> b(String str) throws UnknownHostException;
|
|
}
|