[hornetq-commits] JBoss hornetq SVN: r8921 - trunk/tests/src/org/hornetq/tests/unit/core/asyncio.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Mar 10 16:09:20 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-03-10 16:09:19 -0500 (Wed, 10 Mar 2010)
New Revision: 8921

Modified:
   trunk/tests/src/org/hornetq/tests/unit/core/asyncio/AsynchronousFileTest.java
Log:
tweak on test

Modified: trunk/tests/src/org/hornetq/tests/unit/core/asyncio/AsynchronousFileTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/unit/core/asyncio/AsynchronousFileTest.java	2010-03-09 16:14:30 UTC (rev 8920)
+++ trunk/tests/src/org/hornetq/tests/unit/core/asyncio/AsynchronousFileTest.java	2010-03-10 21:09:19 UTC (rev 8921)
@@ -109,7 +109,7 @@
             controller.open("/non-existent/IDontExist.error", 10000);
             Assert.fail("Exception expected! The test could create a file called /non-existent/IDontExist.error when it was supposed to fail.");
          }
-         catch (Throwable ignored)
+         catch (Exception ignored)
          {
          }
          try
@@ -117,7 +117,7 @@
             controller.close();
             Assert.fail("Supposed to throw exception as the file wasn't opened");
          }
-         catch (Throwable ignored)
+         catch (Exception ignored)
          {
          }
 



More information about the hornetq-commits mailing list