HomeSort by relevance Sort by last modified time
    Searched refs:GaiException (Results 1 - 5 of 5) sorted by null

  /libcore/luni/src/main/java/libcore/io/
GaiException.java 28 public final class GaiException extends RuntimeException {
32 public GaiException(String functionName, int error) {
37 public GaiException(String functionName, int error, Throwable cause) {
Os.java 52 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException;
58 public String getnameinfo(InetAddress address, int flags) throws GaiException;
Posix.java 55 public native InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException;
60 public native String getnameinfo(InetAddress address, int flags) throws GaiException;
ForwardingOs.java 61 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); }
66 public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); }
  /libcore/luni/src/main/java/java/net/
InetAddress.java 37 import libcore.io.GaiException;
270 } catch (GaiException ignored) {
412 } catch (GaiException gaiException) {
416 if (gaiException.getCause() instanceof ErrnoException) {
417 if (((ErrnoException) gaiException.getCause()).errno == EACCES) {
418 throw new SecurityException("Permission denied (missing INTERNET permission?)", gaiException);
422 String detailMessage = "Unable to resolve host \"" + host + "\": " + Libcore.os.gai_strerror(gaiException.error);
424 throw gaiException.rethrowAsUnknownHostException(detailMessage);
442 } catch (GaiException gaiException)
    [all...]

Completed in 83 milliseconds