Author: ruchith
Date: Sun Dec  9 02:34:43 2007
New Revision: 10730

Log:

We have to give the key into the exception, not the message itself

Modified:
   
trunk/commons/usermanager/modules/core/src/main/java/org/wso2/usermanager/custom/ldap/LDAPRealm.java

Modified: 
trunk/commons/usermanager/modules/core/src/main/java/org/wso2/usermanager/custom/ldap/LDAPRealm.java
==============================================================================
--- 
trunk/commons/usermanager/modules/core/src/main/java/org/wso2/usermanager/custom/ldap/LDAPRealm.java
        (original)
+++ 
trunk/commons/usermanager/modules/core/src/main/java/org/wso2/usermanager/custom/ldap/LDAPRealm.java
        Sun Dec  9 02:34:43 2007
@@ -76,7 +76,7 @@
         } catch (NamingException e) {
             String msg = messages.getMessage("errorOpeningLDAP");
             log.debug(msg, e);
-            throw new UserManagerException(msg, e);
+            throw new UserManagerException("errorOpeningLDAP", e);
         }
     }
 

_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev

Reply via email to