[
https://issues.apache.org/jira/browse/MYFACES-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108309#comment-13108309
]
Leonardo Uribe commented on MYFACES-3309:
-----------------------------------------
In theory if an exception is thrown in that location, that means initialization
should be aborted and the web application should not be started. Maybe the
problem could be seen in a different way. There is no mechanism in MyFaces to
check if a setup for a web application is correct. So if something wrong, it
just fails without an explanation. Again, it looks like an improvement. Since
the base case using the default algorithm works as expected, I think this issue
can wait until next version scheduled in 2 months (or unless another issue with
high priority comes out).
> Throw correct exception while using FactoryFinderProvider SPI
> -------------------------------------------------------------
>
> Key: MYFACES-3309
> URL: https://issues.apache.org/jira/browse/MYFACES-3309
> Project: MyFaces Core
> Issue Type: Bug
> Components: SPI
> Affects Versions: 2.0.9, 2.1.3
> Reporter: Ivan
> Attachments: MYFACES-3309.patch
>
>
> While using FactoryFinderProvider SPI, it is required to check the real
> exception from InvocationTargetException, and throw some exceptions directly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira