Class BannedHostException

All Implemented Interfaces:
Serializable

public class BannedHostException extends UnknownHostException
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 Details

    • BannedHostException

      public BannedHostException(String desc)