Now the HibernateUserTest is uses components to connect the different parts together...
authorErik Brakkee <erik@brakkee.org>
Mon, 12 May 2008 23:20:21 +0000 (23:20 +0000)
committerErik Brakkee <erik@brakkee.org>
Mon, 12 May 2008 23:20:21 +0000 (23:20 +0000)
Next step is to create a component for the current functionality of SpringTestCase and to use that instead of SpringTestCase.

system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java

index 657d11e4f8bd31bfb54341bc7462d4c285c5c62d..1da30a324ed53c4c9812306669e2adc287b5b6a8 100644 (file)
@@ -124,7 +124,7 @@ public class SpringComponent extends AbstractComponent<Scope> {
                        return scope; 
                } catch (Exception e) {
                        throw new SystemAssemblyException(
-                                       "Failed to assemble spring system", e);
+                                       "Failed to assemble spring system " + getName(), e);
                } finally {
                        THIS.set(old);
                        SCOPE.set(oldScope);