From 232050193e7112a4a92555010c42a1ae6c11388c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Sat, 20 Mar 2010 22:11:15 +0000
Subject: [PATCH] - suppressed outdated exception trap

---
 src/fr/inrialpes/exmo/align/service/AServProtocolManager.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java b/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
index 6529d109..0a03b126 100644
--- a/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+++ b/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
@@ -835,7 +835,7 @@ public class AServProtocolManager {
 
     public static boolean implementsInterface( String classname, Class tosubclass, boolean debug ) {
 	try {
-	    if ( classname.equals("org.apache.xalan.extensions.ExtensionHandlerGeneral") ) throw new ClassNotFoundException( "Stupid JAVA/Xalan bug");
+	    if ( classname.equals("org.apache.xalan.extensions.ExtensionHandlerGeneral") ) throw new ClassNotFoundException( "Stupid JAVA/Xalan bug" );
 	    // JE: Here there is a bug that is that it is not possible
 	    // to have ALL interfaces with this function!!!
 	    // This is really stupid but that's life
@@ -857,8 +857,6 @@ public class AServProtocolManager {
 	} catch (ClassNotFoundException cnfex) {
 	} catch (UnsatisfiedLinkError ule) {
 	    if ( debug ) System.err.println("   ******** "+classname);
-	} catch (ExceptionInInitializerError eiie) {
-	    // This one has been added for OMWG, this is a bad error
 	}
 	return false;
     }
-- 
GitLab