Revision: 1638
          http://svn.sourceforge.net/spring-rich-c/?rev=1638&view=rev
Author:   kevinstembridge
Date:     2007-01-09 14:54:16 -0800 (Tue, 09 Jan 2007)

Log Message:
-----------
Introduced new ServiceNotFoundException instead of UnsupportedOperationException

Modified Paths:
--------------
    
trunk/spring-richclient/support/src/test/java/org/springframework/richclient/application/support/DefaultApplicationServicesTests.java

Modified: 
trunk/spring-richclient/support/src/test/java/org/springframework/richclient/application/support/DefaultApplicationServicesTests.java
===================================================================
--- 
trunk/spring-richclient/support/src/test/java/org/springframework/richclient/application/support/DefaultApplicationServicesTests.java
       2007-01-09 22:53:05 UTC (rev 1637)
+++ 
trunk/spring-richclient/support/src/test/java/org/springframework/richclient/application/support/DefaultApplicationServicesTests.java
       2007-01-09 22:54:16 UTC (rev 1638)
@@ -6,6 +6,7 @@
 import org.springframework.binding.value.support.DefaultValueChangeDetector;
 import org.springframework.context.MessageSource;
 import org.springframework.context.support.StaticMessageSource;
+import org.springframework.richclient.application.ServiceNotFoundException;
 import org.springframework.richclient.image.IconSource;
 import org.springframework.richclient.test.SpringRichTestCase;
 import org.springframework.rules.RulesSource;
@@ -32,7 +33,7 @@
         try {
             getApplicationServices().getService(getClass());
             fail("Unknown service should have caused an exception");
-        } catch( UnsupportedOperationException e ) {
+        } catch( ServiceNotFoundException e ) {
             ; // expected
         }
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
spring-rich-c-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to