You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/12/03 01:41:49 UTC
svn commit: r1041657 -
/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
Author: sebb
Date: Fri Dec 3 00:41:49 2010
New Revision: 1041657
URL: http://svn.apache.org/viewvc?rev=1041657&view=rev
Log:
Oops - should only have used generic Throwable here
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java?rev=1041657&r1=1041656&r2=1041657&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java Fri Dec 3 00:41:49 2010
@@ -55,16 +55,8 @@ public abstract class HTTPAbstractImpl i
/**
* Invokes {@link HTTPSamplerBase#errorResult(Throwable, HTTPSampleResult)}
*/
- protected HTTPSampleResult errorResult(IllegalArgumentException e,
- HTTPSampleResult res) {
- return testElement.errorResult(e, res);
- }
-
- /**
- * Invokes {@link HTTPSamplerBase#errorResult(Throwable, HTTPSampleResult)}
- */
- protected HTTPSampleResult errorResult(IOException iex, HTTPSampleResult res) {
- return testElement.errorResult(iex, res);
+ protected HTTPSampleResult errorResult(Throwable t, HTTPSampleResult res) {
+ return testElement.errorResult(t, res);
}
/**
@@ -224,7 +216,7 @@ public abstract class HTTPAbstractImpl i
/**
* Invokes {@link HTTPSamplerBase#readResponse(SampleResult, InputStream, int)}
*/
- protected byte[] readResponse(HTTPSampleResult res, InputStream instream,
+ protected byte[] readResponse(SampleResult res, InputStream instream,
int responseContentLength) throws IOException {
return testElement.readResponse(res, instream, responseContentLength);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org