public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
public String gai_strerror(int error) { return os.gai_strerror(error); } public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
/** * Converts the stashed function name and error value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String gaiName = OsConstants.gaiName(error); if (gaiName == null) { gaiName = "GAI_ error " + error; } String description = Libcore.os.gai_strerror(error); return functionName + " failed: " + gaiName + " (" + description + ")"; }
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);
String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error); addressCache.putUnknownHost(host, detailMessage); throw gaiException.rethrowAsUnknownHostException(detailMessage);