felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Läubrich (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FELIX-4178) Provide method to access Exception thrown by activate method and/or while instantiation
Date Sat, 21 May 2016 12:12:12 GMT

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

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

An Exception not means the component is broken in general, but can mean several thing e.g.
target system not avaiable, file not found/accessiable. Make this accessiable won't duplicate
information IMO but is usefull for automatic handling (e.g. showing an alert in a management
system), while a logmessage might require parsing and is not persistent, so if the management
system has not yet listened at the moment where the component failed the information is vanished!

> 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
>            Assignee: David Jencks
>
> 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.3.4#6332)

Mime
View raw message