You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2005/03/28 21:13:21 UTC

svn commit: r159281 - jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java

Author: olegk
Date: Mon Mar 28 11:13:20 2005
New Revision: 159281

URL: http://svn.apache.org/viewcvs?view=rev&rev=159281
Log:
SVN copied from Jakarta Commons HttpClient

Added:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java
      - copied, changed from r159278, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NoHttpResponseException.java

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java (from r159278, jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NoHttpResponseException.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java?view=diff&rev=159281&p1=jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NoHttpResponseException.java&r1=159278&p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java&r2=159281
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NoHttpResponseException.java (original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/NoHttpResponseException.java Mon Mar 28 11:13:20 2005
@@ -1,5 +1,5 @@
 /*
- * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/NoHttpResponseException.java,v 1.1 2004/07/05 22:46:58 olegk Exp $
+ * $HeadURL$
  * $Revision$
  * $Date$
  *
@@ -27,18 +27,16 @@
  *
  */
 
-package org.apache.commons.httpclient;
+package org.apache.http;
 
 import java.io.IOException;
 
-import org.apache.commons.httpclient.util.ExceptionUtil;
-
 /**
  * <p>
  * Signals that the target server failed to respond with a valid HTTP response.
  * </p>
  * 
- * @author <a href="mailto:oleg -at- ural.ru">Oleg Kalnichevski</a>
+ * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
  * 
  * @version $Revision$
  */
@@ -60,18 +58,4 @@
         super(message);
     }
 
-    /**
-     * 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);
-    }
 }