View Javadoc

1   package com.atlassian.sal.api.net;
2   
3   /**
4    * This is exception is thrown by {@link Request#execute()} and {@link ResponseHandler#handle(Response)}. Acts as a
5    * wrapper for any IOException thrown when executing the request. It also a root of user-defined exceptions thrown in
6    * {@link ResponseHandler#handle(Response)} method.
7    *
8    * @since 2.0
9    */
10  public class ResponseException extends Exception
11  {
12  
13      public ResponseException()
14      {
15          super();
16      }
17  
18      public ResponseException(String message, Throwable cause)
19      {
20          super(message, cause);
21      }
22  
23      public ResponseException(String message)
24      {
25          super(message);
26      }
27  
28      public ResponseException(Throwable cause)
29      {
30          super(cause);
31      }
32  
33  }