1 2 package ch.ethz.ssh2; 3 4 import java.io.IOException ; 5 6 15 16 public class HTTPProxyException extends IOException  17 { 18 private static final long serialVersionUID = 2241537397104426186L; 19 20 public final String httpResponse; 21 public final int httpErrorCode; 22 23 public HTTPProxyException(String httpResponse, int httpErrorCode) 24 { 25 super("HTTP Proxy Error (" + httpErrorCode + " " + httpResponse + ")"); 26 this.httpResponse = httpResponse; 27 this.httpErrorCode = httpErrorCode; 28 } 29 } 30 | Popular Tags |