directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r544726 - /directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java
Date Wed, 06 Jun 2007 04:18:10 GMT
Author: erodriguez
Date: Tue Jun  5 21:18:09 2007
New Revision: 544726

URL: http://svn.apache.org/viewvc?view=rev&rev=544726
Log:
Added root causes to exceptions in protocol-changepw.

Modified:
    directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java

Modified: directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java?view=diff&rev=544726&r1=544725&r2=544726
==============================================================================
--- directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java
(original)
+++ directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/service/ProcessPasswordChange.java
Tue Jun  5 21:18:09 2007
@@ -67,7 +67,7 @@
         }
         catch ( NamingException ne )
         {
-            throw new ChangePasswordException( ErrorType.KRB5_KPASSWD_SOFTERROR, ne );
+            throw new ChangePasswordException( ErrorType.KRB5_KPASSWD_SOFTERROR, ne.getExplanation().getBytes(),
ne );
         }
         catch ( Exception e )
         {



Mime
View raw message