Class RefusedAddressException

All Implemented Interfaces:
Serializable

public class RefusedAddressException extends UnknownHostException
Thrown by SafeAddressGuard.resolveAllowed(java.lang.String) for a host resolving to an address the platform must not reach. An UnknownHostException so that it travels out of the HTTP client's connection code like a resolution failure, and a type of its own so that it is told apart from one.
See Also:
  • Constructor Details

    • RefusedAddressException

      public RefusedAddressException()
      Builds the exception; the message never names the host or the address.