geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1296061 - /geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java
Date Fri, 02 Mar 2012 06:18:16 GMT
Author: xiaming
Date: Fri Mar  2 06:18:16 2012
New Revision: 1296061

URL: http://svn.apache.org/viewvc?rev=1296061&view=rev
Log:
GERONIMO-6112 Revise the exception message clearer, provided by xiezhi

Modified:
    geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java

Modified: geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java?rev=1296061&r1=1296060&r2=1296061&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java
(original)
+++ geronimo/server/branches/3.0-beta/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationStoreUtil.java
Fri Mar  2 06:18:16 2012
@@ -43,7 +43,8 @@ public class ConfigurationStoreUtil {
         // check if the sum already exists
         File sumFile = new File(file.getParentFile(), file.getName() + ".sha1");
         if (sumFile.exists()) {
-            throw new IOException("Sum file already exists");
+            throw new IOException("It is a configuration archive now. Sum file already exists.
" +
+            		"Please use the install-plugin command to install it.");
         }
 
         // calculate the checksum



Mime
View raw message