You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/01/31 00:46:34 UTC

svn commit: r373632 - /directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java

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 );
         }
     }