Class FilteredHostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.http.client.FilteredHostException
- All Implemented Interfaces:
Serializable
Exception thrown when a host was not used due to an
InetAddressFilter.- Since:
- 4.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the filter that was used.getHost()Return the host that was not matched.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getHost
-
getFilter
Return the filter that was used.- Returns:
- the filter that didn't match
-