Added in API level 29
Summary:
Fields
| Inherited Methods
DnsResolver.DnsException
public
static
class
DnsResolver.DnsException
extends Exception
| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | android.net.DnsResolver.DnsException | ||
Class to represent DNS error
Summary
Fields | |
|---|---|
public
final
int |
code
DNS error code as one of the ERROR_* constants
|
Inherited methods | |
|---|---|
Fields
code
Added in API level 29
public final int code
DNS error code as one of the ERROR_* constants
Value is DnsResolver.ERROR_PARSE, or DnsResolver.ERROR_SYSTEM