UnresolvedAddressException

  • UnresolvedAddressException is an unchecked exception indicating a network operation was attempted on an unresolved socket address.

  • It's a subclass of IllegalArgumentException and thus inherits its methods.

  • The exception provides a single constructor with no parameters to create an instance.

  • This exception typically arises when the system cannot resolve the hostname or IP address provided for a network connection.

public class UnresolvedAddressException extends IllegalArgumentException

Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.

Public Constructor Summary

UnresolvedAddressException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public UnresolvedAddressException ()

Constructs an instance of this class.