[Jboss-cvs] JBossAS SVN: r56217 - trunk/testsuite/src/main/org/jboss/test/security/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 24 08:51:02 EDT 2006


Author: anil.saldhana at jboss.com
Date: 2006-08-24 08:51:01 -0400 (Thu, 24 Aug 2006)
New Revision: 56217

Modified:
   trunk/testsuite/src/main/org/jboss/test/security/test/DynamicLoginConfigServiceUnitTestCase.java
Log:
Use Exception instead of Throwable

Modified: trunk/testsuite/src/main/org/jboss/test/security/test/DynamicLoginConfigServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/DynamicLoginConfigServiceUnitTestCase.java	2006-08-24 12:34:10 UTC (rev 56216)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/DynamicLoginConfigServiceUnitTestCase.java	2006-08-24 12:51:01 UTC (rev 56217)
@@ -120,7 +120,7 @@
          sutil.startAService(serviceName);
          assertFalse("Should not Start", sutil.isStarted(serviceName));  
       }
-      catch(Throwable t)
+      catch(Exception  t)
       {
          fail("Exception thrown:"+t.getLocalizedMessage()); 
       }
@@ -140,7 +140,7 @@
          sutil.startAService(serviceName);
          assertFalse("Should not Start?", sutil.isStarted(serviceName)); 
       }
-      catch(Throwable t)
+      catch(Exception t)
       {
          fail("Failute to set an attribute and start a service:"+t.getLocalizedMessage()); 
       }




More information about the jboss-cvs-commits mailing list