geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r740800 - /geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java
Date Wed, 04 Feb 2009 17:15:59 GMT
Author: djencks
Date: Wed Feb  4 17:15:59 2009
New Revision: 740800

URL: http://svn.apache.org/viewvc?rev=740800&view=rev
Log:
better error message

Modified:
    geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java?rev=740800&r1=740799&r2=740800&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jaas/GeronimoLoginConfiguration.java
Wed Feb  4 17:15:59 2009
@@ -109,7 +109,7 @@
 
     private void addConfiguration(ConfigurationEntryFactory factory) {
         if (entries.containsKey(factory.getConfigurationName())) {
-            throw new java.lang.IllegalArgumentException("ConfigurationEntry already registered");
+            throw new java.lang.IllegalArgumentException("ConfigurationEntry named: " + factory.getConfigurationName()
+ " already registered");
         }
         if (useAllConfigurations || factory.isPublish()) {
             AppConfigurationEntry[] ace = factory.getAppConfigurationEntries();



Mime
View raw message