Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/HTTPProxyException.java @ 308:42b15aaa7ac7 ganymed
merge
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2014 14:21:50 -0700 |
parents | 071eccdff8ea |
children |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/HTTPProxyException.java Wed Jul 30 13:38:04 2014 -0700 +++ b/src/ch/ethz/ssh2/HTTPProxyException.java Wed Jul 30 14:21:50 2014 -0700 @@ -8,25 +8,23 @@ /** * May be thrown upon connect() if a HTTP proxy is being used. - * + * * @see Connection#connect() * @see Connection#setProxyData(ProxyData) - * + * * @author Christian Plattner * @version 2.50, 03/15/10 */ -public class HTTPProxyException extends IOException -{ - private static final long serialVersionUID = 2241537397104426186L; +public class HTTPProxyException extends IOException { + private static final long serialVersionUID = 2241537397104426186L; - public final String httpResponse; - public final int httpErrorCode; + public final String httpResponse; + public final int httpErrorCode; - public HTTPProxyException(String httpResponse, int httpErrorCode) - { - super("HTTP Proxy Error (" + httpErrorCode + " " + httpResponse + ")"); - this.httpResponse = httpResponse; - this.httpErrorCode = httpErrorCode; - } + public HTTPProxyException(String httpResponse, int httpErrorCode) { + super("HTTP Proxy Error (" + httpErrorCode + " " + httpResponse + ")"); + this.httpResponse = httpResponse; + this.httpErrorCode = httpErrorCode; + } }