本文整理了Java中org.apache.http.conn.HttpHostConnectException.<init>()
方法的一些代码示例,展示了HttpHostConnectException.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpHostConnectException.<init>()
方法的具体详情如下:
包路径:org.apache.http.conn.HttpHostConnectException
类名称:HttpHostConnectException
方法名:<init>
[英]Creates a HttpHostConnectException based on original java.io.IOException.
[中]基于原始java创建HttpHostConnectException。木卫一。例外。
代码示例来源:origin: robovm/robovm
(conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
} catch (ConnectException ex) {
throw new HttpHostConnectException(target, ex);
代码示例来源:origin: robovm/robovm
ConnectException cause = ex instanceof ConnectException
? (ConnectException) ex : new ConnectException(ex.getMessage(), ex);
throw new HttpHostConnectException(target, cause);
代码示例来源:origin: MobiVM/robovm
(conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
} catch (ConnectException ex) {
throw new HttpHostConnectException(target, ex);
代码示例来源:origin: FlexoVM/flexovm
(conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
} catch (ConnectException ex) {
throw new HttpHostConnectException(target, ex);
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
(conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
} catch (ConnectException ex) {
throw new HttpHostConnectException(target, ex);
代码示例来源:origin: com.gluonhq/robovm-rt
(conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
} catch (ConnectException ex) {
throw new HttpHostConnectException(target, ex);
代码示例来源:origin: com.gluonhq/robovm-rt
ConnectException cause = ex instanceof ConnectException
? (ConnectException) ex : new ConnectException(ex.getMessage(), ex);
throw new HttpHostConnectException(target, cause);
代码示例来源:origin: com.hynnet/httpclient
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
代码示例来源:origin: MobiVM/robovm
ConnectException cause = ex instanceof ConnectException
? (ConnectException) ex : new ConnectException(ex.getMessage(), ex);
throw new HttpHostConnectException(target, cause);
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
代码示例来源:origin: FlexoVM/flexovm
ConnectException cause = ex instanceof ConnectException
? (ConnectException) ex : new ConnectException(ex.getMessage(), ex);
throw new HttpHostConnectException(target, cause);
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
ConnectException cause = ex instanceof ConnectException
? (ConnectException) ex : new ConnectException(ex.getMessage(), ex);
throw new HttpHostConnectException(target, cause);
代码示例来源:origin: ibinti/bugvm
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
代码示例来源:origin: org.apache.httpcomponents/httpclient-android
throw cex;
} else {
throw new HttpHostConnectException(host, ex);
代码示例来源:origin: Nextdoor/bender
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
代码示例来源:origin: com.bugvm/bugvm-rt
throw new ConnectTimeoutException(ex, host, addresses);
} else {
throw new HttpHostConnectException(ex, host, addresses);
内容来源于网络,如有侵权,请联系作者删除!