package org.chenyang.http.impl.execchain;

import org.chenyang.http.HttpException;
import org.chenyang.http.HttpResponse;

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;
   }
}
