Author: clebert.suconic(a)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)
{
}
Show replies by date