Package io.meeds.commons.http
Class RefusedAddressException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.UnknownHostException
io.meeds.commons.http.RefusedAddressException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionBuilds the exception; the message never names the host or the address. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RefusedAddressException
public RefusedAddressException()Builds the exception; the message never names the host or the address.
-