directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373632 - /directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Date Mon, 30 Jan 2006 23:46:34 GMT
Author: akarasulu
Date: Mon Jan 30 15:46:31 2006
New Revision: 373632

URL: http://svn.apache.org/viewcvs?rev=373632&view=rev
Log:
make example exit when connection is lost

Modified:
    directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java

Modified: directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java?rev=373632&r1=373631&r2=373632&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
(original)
+++ directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Mon Jan 30 15:46:31 2006
@@ -99,6 +99,8 @@
         else 
         {
             System.out.println( "Unknown event recieved with OID: " + evt.getNotification().getID()
);
+            System.out.println( "Process shutting down." );
+            System.exit( 1 );
         }
     }
 



Mime
View raw message