You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/01/08 20:44:02 UTC

svn commit: r732805 - /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java

Author: davsclaus
Date: Thu Jan  8 11:44:02 2009
New Revision: 732805

URL: http://svn.apache.org/viewvc?rev=732805&view=rev
Log:
removed import on package from a sibling package

Modified:
    activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java?rev=732805&r1=732804&r2=732805&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java (original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelOnRedeliveryTest.java Thu Jan  8 11:44:02 2009
@@ -21,7 +21,6 @@
 import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.processor.onexception.MyTechnicalException;
 
 /**
  * Unit test for testing possibility to modify exchange before redelivering
@@ -75,7 +74,7 @@
                     public void process(Exchange exchange) throws Exception {
                         // force some error so Camel will do redelivery
                         if (++counter <= 3) {
-                            throw new MyTechnicalException("Forced by unit test");
+                            throw new IllegalArgumentException("Forced by unit test");
                         }
                     }
                 }).to("mock:result");