directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r433712 - /directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java
Date Tue, 22 Aug 2006 18:03:29 GMT
Author: elecharny
Date: Tue Aug 22 11:03:29 2006
New Revision: 433712

URL: http://svn.apache.org/viewvc?rev=433712&view=rev
Log:
The exception was in cause.getcause(), not in cause itself.

Modified:
    directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java

Modified: directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java?rev=433712&r1=433711&r2=433712&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java
(original)
+++ directory/branches/apacheds/1.0/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapProtocolProvider.java
Tue Aug 22 11:03:29 2006
@@ -403,9 +403,9 @@
 
         public void exceptionCaught( IoSession session, Throwable cause )
         {
-            if ( cause instanceof ResponseCarryingMessageException )
+            if ( cause.getCause() instanceof ResponseCarryingMessageException )
             {
-                ResponseCarryingMessageException rcme = ( ResponseCarryingMessageException
) cause;
+                ResponseCarryingMessageException rcme = ( ResponseCarryingMessageException
) cause.getCause();
                 session.write( rcme.getResponse() );
                 return;
             }



Mime
View raw message