You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/03/30 22:31:59 UTC
cvs commit: jakarta-avalon-excalibur/event/src/test/org/apache/avalon/excalibur/event/test ThreadedQueueTestCase.java
donaldp 02/03/30 13:31:59
Modified: event/src/test/org/apache/avalon/excalibur/event/test
ThreadedQueueTestCase.java
Log:
Remove dependency on cascading throwable and friends.
Revision Changes Path
1.3 +4 -4 jakarta-avalon-excalibur/event/src/test/org/apache/avalon/excalibur/event/test/ThreadedQueueTestCase.java
Index: ThreadedQueueTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/event/src/test/org/apache/avalon/excalibur/event/test/ThreadedQueueTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ThreadedQueueTestCase.java 16 Mar 2002 00:05:46 -0000 1.2
+++ ThreadedQueueTestCase.java 30 Mar 2002 21:31:59 -0000 1.3
@@ -7,16 +7,16 @@
import org.apache.avalon.excalibur.event.Sink;
import org.apache.avalon.excalibur.event.SinkException;
import org.apache.avalon.excalibur.event.Source;
-import org.apache.avalon.framework.CascadingRuntimeException;
/**
* Simple test to expose the thread queue bug
*
* @author <a href="mailto:proyal@managingpartners.com">Peter Royal</a>
* @author <a href="mailto:leo.sutic@inspireinfrastructure.com">Leo Sutic</a>
- * @version VSS $Revision: 1.2 $ $Date: 2002/03/16 00:05:46 $
+ * @version VSS $Revision: 1.3 $ $Date: 2002/03/30 21:31:59 $
*/
-public class ThreadedQueueTestCase extends TestCase
+public class ThreadedQueueTestCase
+ extends TestCase
{
private QueueStart start;
private QueueEnd end;
@@ -88,7 +88,7 @@
}
catch( InterruptedException e )
{
- throw new CascadingRuntimeException( "Stage unexpectedly interrupted", e );
+ throw new RuntimeException( "Stage unexpectedly interrupted: " + e );
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>