You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/07/27 16:32:40 UTC

svn commit: r798160 - /incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java

Author: cwiklik
Date: Mon Jul 27 14:32:40 2009
New Revision: 798160

URL: http://svn.apache.org/viewvc?rev=798160&view=rev
Log:
UIMA-1459 Code cleanup

Modified:
    incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java

Modified: incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java?rev=798160&r1=798159&r2=798160&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java (original)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/handler/GetMetaErrorHandler.java Mon Jul 27 14:32:40 2009
@@ -103,7 +103,8 @@
 	    			//  Notify if the error occurred during initialization of the service.
 	    			//  If the ping times out, there is no need to notify the listener. We
 	    			//  use getMeta request as a ping to check if the service is running.
-	    			if ( delegate != null && !delegate.isAwaitingPingReply() ) {
+	    			if ( delegate != null && !delegate.isAwaitingPingReply() &&
+	    			        t instanceof Exception) {
 	            aController.notifyListenersWithInitializationStatus((Exception)t);
 	    			}
 	    		}