package org.apache.http.impl.client;

import org.apache.http.HttpException;
import org.apache.http.HttpResponse;

/** @deprecated */
@Deprecated
public class TunnelRefusedException extends HttpException {
   private static final long serialVersionUID = -8646722842745617323L;
   private final HttpResponse response;

   public TunnelRefusedException(String message, HttpResponse response) {
      super(message);
      this.response = response;
   }

   public HttpResponse getResponse() {
      return this.response;
   }
}
