[
https://issues.apache.org/jira/browse/FELIX-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Koehler updated FELIX-1022:
------------------------------------
Attachment: 2009_04_02_framework-exception-patch.txt
This is a simple patch which generates messages like:
--- 8< ---
Caused by: java.lang.ClassNotFoundException: could not find
'javax.transaction.SystemException' for bundle 'xxx' with id [8]
at
org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:574)
at
org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
at
org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1443)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 91 more
--- 8< ---
Kristian
> Classloader Exceptions should be more informative
> -------------------------------------------------
>
> Key: FELIX-1022
> URL: https://issues.apache.org/jira/browse/FELIX-1022
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Reporter: Kristian Koehler
> Attachments: 2009_04_02_framework-exception-patch.txt
>
>
> Hi
> if you run a application within felix sometimes it is hard to find the bundle
> which could not load a specific class or resource. A general ClassNotFound
> exception is thrown.
> The message should be more "meaningful".
> Kristian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.