if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new ConnectTimeoutException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> */ public ConnectTimeoutException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new NoHttpResponseException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> * * @since 3.0 */ public NoHttpResponseException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); } }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Reads and stores the Trailer headers. * @throws IOException If an IO problem occurs */ private void parseTrailerHeaders() throws IOException { Header[] footers = null; try { String charset = "US-ASCII"; if (this.method != null) { charset = this.method.getParams().getHttpElementCharset(); } footers = HttpParser.parseHeaders(in, charset); } catch(HttpException e) { LOG.error("Error parsing trailer headers", e); IOException ioe = new IOException(e.getMessage()); ExceptionUtil.initCause(ioe, e); throw ioe; } if (this.method != null) { for (int i = 0; i < footers.length; i++) { this.method.addResponseFooter(footers[i]); } } }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new ConnectTimeoutException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> */ public ConnectTimeoutException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new ConnectTimeoutException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> */ public ConnectTimeoutException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new ConnectTimeoutException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> */ public ConnectTimeoutException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new ConnectTimeoutException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> */ public ConnectTimeoutException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new NoHttpResponseException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> * * @since 3.0 */ public NoHttpResponseException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); } }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new NoHttpResponseException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> * * @since 3.0 */ public NoHttpResponseException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); } }
if (!ExceptionUtil.isSocketTimeoutException(e)) { throw e;
/** * Creates a new NoHttpResponseException with the specified detail message and cause. * * @param message the exception detail message * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt> * if the cause is unavailable, unknown, or not a <tt>Throwable</tt> * * @since 3.0 */ public NoHttpResponseException(String message, Throwable cause) { super(message); // If we're running on JDK 1.4 or later, tell Throwable what the cause was ExceptionUtil.initCause(this, cause); } }