You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Christoph Läubrich (JIRA)" <ji...@apache.org> on 2014/05/02 10:27:14 UTC

[jira] [Commented] (FELIX-4178) Provide method to access Exception thrown by activate method and/or while instantiation

    [ https://issues.apache.org/jira/browse/FELIX-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987494#comment-13987494 ] 

Christoph Läubrich commented on FELIX-4178:
-------------------------------------------

The problem ist to make a relation between log message and component in an automated way.
So if I detect a failed component it would be nice to get the last exception that was thrown during the attempt to activate it or while instatiation without the need to "guess" what log message (that only is present if LogService is there) might be related to this component.

> Provide method to access Exception thrown by activate method and/or while instantiation
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-4178
>                 URL: https://issues.apache.org/jira/browse/FELIX-4178
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services (SCR)
>            Reporter: Christoph Läubrich
>
> Access to the exception a component throws in the activate method or any exception while try to create instance (e.g. no default constructer, class not found...) would help for diagnostic tools depending on the ScrService.



--
This message was sent by Atlassian JIRA
(v6.2#6252)