[
https://issues.apache.org/jira/browse/MYFACES-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108317#comment-13108317
]
Ivan commented on MYFACES-3309:
-------------------------------
Sometimes, those exceptions are thrown from runtime. e.g. If users called
FactoryFinder.getFactory("invalidfactory"), there should be an
IllegalStateException exception is thrown. If it is not possible to have a new
release, could you please help to review the patch ? I wonder whether I missed
anything.
> 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