View Javadoc

1   package com.atlassian.httpclient.apache.httpcomponents;
2   
3   import org.apache.http.HttpResponse;
4   
5   import java.io.IOException;
6   
7   public class EntityTooLargeException extends IOException {
8   
9       private final HttpResponse response;
10  
11      public EntityTooLargeException(HttpResponse response, String message) {
12          super(message);
13  
14          this.response = response;
15      }
16  
17      public HttpResponse getResponse() {
18          return response;
19      }
20  }