Class NoHostException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoHostException
    extends HttpClientException
    Thrown when a request is made that has no host information.
    Since:
    2.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoHostException​(java.lang.String message)  
      NoHostException​(java.lang.String message, java.lang.Throwable cause)  
      NoHostException​(java.lang.String message, java.lang.Throwable cause, boolean shared)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoHostException

        public NoHostException​(java.lang.String message)
        Parameters:
        message - The message
      • NoHostException

        public NoHostException​(java.lang.String message,
                               java.lang.Throwable cause)
        Parameters:
        message - The message
        cause - The throwable
      • NoHostException

        public NoHostException​(java.lang.String message,
                               java.lang.Throwable cause,
                               boolean shared)
        Parameters:
        message - The message
        cause - The throwable
        shared - Shared instance