Class BannedHostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.UnknownHostException
com.atlassian.httpclient.api.BannedHostException
- All Implemented Interfaces:
Serializable
This is to be thrown when a host has been blacklisted by IP and a connection should not be attempted.
It extends
UnknownHostException due to the semantics around where it must be thrown. It is utilised in the
HostResolver which can only throw an UnknownHostException.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BannedHostException
-