View Javadoc

1   package com.atlassian.sal.api.net;
2   
3   /**
4    * Thrown by {@link Request} methods to indicate that the request failed because the
5    * server did not comply with the request protocol.
6    * <p>
7    * For HTTP requests, this includes conditions such as the server returning an invalid
8    * HTTP response or a circular redirect.
9    * 
10   * @since 2.7.0
11   */
12  public class ResponseProtocolException extends ResponseException
13  {
14      public ResponseProtocolException(String message, Throwable cause)
15      {
16          super(message, cause);
17      }
18  
19      public ResponseProtocolException(String message)
20      {
21          super(message);
22      }
23  
24      public ResponseProtocolException(Throwable cause)
25      {
26          super(cause);
27      }
28  }