From db736f9a82a1ae011fdb4d307745870aea3391f5 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 20 Jul 2010 11:43:58 +0000 Subject: Dont catch NoClassDefFoundError as it will get reported as class not found which is misleading, not catching it means the actual exception does get thrown by a higher catch clause git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965814 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/contribution/src/main') diff --git a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java index 955bb82ce4..f9c8dcb259 100644 --- a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java +++ b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java @@ -114,8 +114,6 @@ public class ClassLoaderModelResolver extends URLClassLoader implements ModelRes } catch (ClassNotFoundException e) { return unresolved; - } catch (NoClassDefFoundError e) { - return unresolved; } } -- cgit v1.2.3