geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r580243 - /geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Date Fri, 28 Sep 2007 07:43:51 GMT
Author: djencks
Date: Fri Sep 28 00:43:50 2007
New Revision: 580243

URL: http://svn.apache.org/viewvc?rev=580243&view=rev
Log:
make error message slightly easier to read

Modified:
    geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java

Modified: geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java?rev=580243&r1=580242&r2=580243&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
(original)
+++ geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Fri Sep 28 00:43:50 2007
@@ -583,8 +583,8 @@
 
         String message = isVerifyReference(referencePatterns, configuration);
         if (message != null) {
-            return "Unable to resolve reference \"" + referenceName + "\" in gbean " +
-                    gbean.getAbstractName() + " to a gbean matching the pattern " + referencePatterns.getPatterns()
+ "due to: " + message;
+            return "Unable to resolve reference \"" + referenceName + "\"\n" +
+                   "    in gbean " + gbean.getAbstractName() + "\n    to a gbean matching
the pattern " + referencePatterns.getPatterns() + "\n    due to: " + message;
         }
         return null;
     }
@@ -593,7 +593,7 @@
         String message = isVerifyReference(referencePatterns, configuration);
         if (message != null) {
             return "Unable to resolve dependency in gbean " + name +
-                    " to a gbean matching the pattern " + referencePatterns.getPatterns()
+ "due to: " + message;
+                    "\n    to a gbean matching the pattern " + referencePatterns.getPatterns()
+ "\n    due to: " + message;
         }
 
         return null;



Mime
View raw message