diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-20 11:43:58 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-20 11:43:58 +0000 |
commit | db736f9a82a1ae011fdb4d307745870aea3391f5 (patch) | |
tree | 1116fb554c3bfe3e62c8fa371f508f68ed05f557 /sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache | |
parent | a670102b8e7c3621a35c6323980139a028dabcb2 (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache')
-rw-r--r-- | sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java | 2 |
1 files changed, 0 insertions, 2 deletions
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; } } |