directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r437287 - /directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/
Date Sun, 27 Aug 2006 03:10:54 GMT
Author: akarasulu
Date: Sat Aug 26 20:10:52 2006
New Revision: 437287

URL: http://svn.apache.org/viewvc?rev=437287&view=rev
Log:
Fix for DIRSERVER-619: NamingException messages are thrown away by MessageHandlers

Modified:
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/BindHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/CompareHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/DeleteHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyDnHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyHandler.java
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java
Sat Aug 26 20:10:52 2006
@@ -99,7 +99,7 @@
         }
         catch ( NamingException e )
         {
-            String msg = "failed to add entry " + req.getEntry();
+            String msg = "failed to add entry " + req.getEntry() + ": " + e.getMessage();
 
             if ( log.isDebugEnabled() )
             {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/BindHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/BindHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/BindHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/BindHandler.java
Sat Aug 26 20:10:52 2006
@@ -134,7 +134,7 @@
                 result.setResultCode( code );
             }
 
-            String msg = "Bind failed";
+            String msg = "Bind failed: " + e.getMessage();
             
             if ( IS_DEBUG )
             {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/CompareHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/CompareHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/CompareHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/CompareHandler.java
Sat Aug 26 20:10:52 2006
@@ -107,7 +107,7 @@
         }
         catch ( Exception e )
         {
-            String msg = "failed to compare entry " + req.getName();
+            String msg = "failed to compare entry " + req.getName() + ": " + e.getMessage();
 
             if ( IS_DEBUG )
             {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/DeleteHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/DeleteHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/DeleteHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/DeleteHandler.java
Sat Aug 26 20:10:52 2006
@@ -94,7 +94,7 @@
         }
         catch ( NamingException e )
         {
-            String msg = "failed to delete entry " + req.getName();
+            String msg = "failed to delete entry " + req.getName() + ": " + e.getMessage();
 
             if ( IS_DEBUG )
             {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyDnHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyDnHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyDnHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyDnHandler.java
Sat Aug 26 20:10:52 2006
@@ -155,7 +155,7 @@
             }
             catch ( NamingException e )
             {
-                String msg = "failed to modify DN of entry " + req.getName();
+                String msg = "failed to modify DN of entry " + req.getName() + ": " + e.getMessage();
                 
                 if ( IS_DEBUG )
                 {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/ModifyHandler.java
Sat Aug 26 20:10:52 2006
@@ -97,7 +97,7 @@
         }
         catch ( NamingException e )
         {
-            String msg = "failed to modify entry " + req.getName();
+            String msg = "failed to modify entry " + req.getName() + ": " + e.getMessage();
             
             if ( IS_DEBUG )
             {

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java?rev=437287&r1=437286&r2=437287&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/SearchHandler.java
Sat Aug 26 20:10:52 2006
@@ -385,7 +385,7 @@
                 return;
             }
 
-            String msg = "failed on search operation";
+            String msg = "failed on search operation: " + e.getMessage();
             if ( log.isDebugEnabled() )
             {
                 msg += ":\n" + req + ":\n" + ExceptionUtils.getStackTrace( e );



Mime
View raw message