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 public ResponseProtocolException(String message, Throwable cause) {
14 super(message, cause);
15 }
16
17 public ResponseProtocolException(String message) {
18 super(message);
19 }
20
21 public ResponseProtocolException(Throwable cause) {
22 super(cause);
23 }
24 }