package org.chenyang.http.impl.client;

import org.chenyang.http.HttpException;
import org.chenyang.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;
   }
}
