Package libcore.io

Class GaiException

All Implemented Interfaces:
Serializable

public final class GaiException
extends RuntimeException
An unchecked exception thrown when the Os getaddrinfo or getnameinfo methods fail. This exception contains the native error value, for comparison against the GAI_ constants in OsConstants, should sophisticated callers need to adjust their behavior based on the exact failure.
See Also:
Serialized Form