Class HttpPipeException

  • All Implemented Interfaces:
    Serializable

    public class HttpPipeException
    extends IOPipeException
    An IO pipe exception indicating an error reported by an HTTP server Includes the HTTP status code.
    Author:
    Eyal Schneider
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpPipeException

        public HttpPipeException​(int statusCode)
      • HttpPipeException

        public HttpPipeException​(int statusCode,
                                 Throwable cause)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Returns:
        the HTTP status code indicating the error type