batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Sandtner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-65) remove unnecessary try/catch in CDIBatchArtifactFactory
Date Fri, 22 May 2015 21:23:17 GMT

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

Reinhard Sandtner commented on BATCHEE-65:
------------------------------------------

i've added cdi-1.1 support but i have a problem with an UnsatisfiedResolutionException in
extensions/cdi module

i have pushed it to github ([https://github.com/rsandtner/incubator-batchee]), maybe you can
checkout...

i added two profiles cdi-1.0 (activeByDefault) and cdi-1.1

> remove unnecessary try/catch in CDIBatchArtifactFactory
> -------------------------------------------------------
>
>                 Key: BATCHEE-65
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-65
>             Project: BatchEE
>          Issue Type: Improvement
>          Components: jbatch-core
>    Affects Versions: 0.3-incubating
>            Reporter: Reinhard Sandtner
>            Priority: Minor
>             Fix For: 0.3-incubating
>
>         Attachments: BATCHEE-65.patch
>
>
> resolving a CDI-Bean is in a try/catch block which catches an Exception and does nothing.
this hides useful information if an Exception has been thrown.
> you get a NPE if ie the reader could not be resolved but not the real exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message