directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r763035 - in /directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners: BindListener.java SearchListener.java
Date Tue, 07 Apr 2009 23:33:50 GMT
Author: elecharny
Date: Tue Apr  7 23:33:49 2009
New Revision: 763035

URL: http://svn.apache.org/viewvc?rev=763035&view=rev
Log:
The listener methods now throw a LdapException

Modified:
    directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/BindListener.java
    directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/SearchListener.java

Modified: directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/BindListener.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/BindListener.java?rev=763035&r1=763034&r2=763035&view=diff
==============================================================================
--- directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/BindListener.java
(original)
+++ directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/BindListener.java
Tue Apr  7 23:33:49 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.shared.ldap.client.api.listeners;
 
 import org.apache.directory.shared.ldap.client.api.LdapConnection;
+import org.apache.directory.shared.ldap.client.api.exception.LdapException;
 import org.apache.directory.shared.ldap.client.api.messages.BindResponse;
 
 /**
@@ -39,5 +40,5 @@
      * @param connection
      * @param BindResponseCodec The bind response
      */
-    void bindCompleted( LdapConnection connection, BindResponse bindResponse );
+    void bindCompleted( LdapConnection connection, BindResponse bindResponse ) throws LdapException;
 }

Modified: directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/SearchListener.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/SearchListener.java?rev=763035&r1=763034&r2=763035&view=diff
==============================================================================
--- directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/SearchListener.java
(original)
+++ directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/listeners/SearchListener.java
Tue Apr  7 23:33:49 2009
@@ -20,6 +20,7 @@
 package org.apache.directory.shared.ldap.client.api.listeners;
 
 import org.apache.directory.shared.ldap.client.api.LdapConnection;
+import org.apache.directory.shared.ldap.client.api.exception.LdapException;
 import org.apache.directory.shared.ldap.client.api.messages.SearchResultDone;
 import org.apache.directory.shared.ldap.client.api.messages.SearchResultEntry;
 import org.apache.directory.shared.ldap.client.api.messages.SearchResultReference;
@@ -41,7 +42,7 @@
      * @param connection The LdapConnection
      * @param searchResultEntry The found entry
      */
-    void entryFound( LdapConnection connection, SearchResultEntry searchResultEntry );
+    void entryFound( LdapConnection connection, SearchResultEntry searchResultEntry ) throws
LdapException;
     
     
     /**
@@ -50,7 +51,7 @@
      * @param connection The LdapConnection
      * @param searchResultReference The referral message
      */
-    void referralFound( LdapConnection connection, SearchResultReference searchResultReference
);
+    void referralFound( LdapConnection connection, SearchResultReference searchResultReference
) throws LdapException;
 
     
     /**
@@ -59,5 +60,5 @@
      * @param connection The LdapConnection
      * @param searchResultDone The searchResultDone response
      */
-    void searchDone( LdapConnection connection, SearchResultDone searchResultDone );
+    void searchDone( LdapConnection connection, SearchResultDone searchResultDone ) throws
LdapException;
 }



Mime
View raw message