Class ProtocolException

    • Constructor Detail

      • ProtocolException

        public ProtocolException()
        Constructs a ProtocolException with no detail message.
      • ProtocolException

        public ProtocolException​(String message)
        Constructs a ProtocolException with the specified detail message.
        Parameters:
        message - the detail message
      • ProtocolException

        public ProtocolException​(String message,
                                 Throwable cause)
        Constructs a ProtocolException with the specified detail message and cause.
        Parameters:
        message - the detail message
        cause - the cause
      • ProtocolException

        public ProtocolException​(Response r)
        Constructs a ProtocolException with the specified Response object.
        Parameters:
        r - the Response
    • Method Detail

      • getResponse

        public Response getResponse()
        Return the offending Response object.
        Returns:
        the Response object