[ 
https://issues.apache.org/jira/browse/LUCENE-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved LUCENE-4255.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.0
    
> clean up analysis factory exception handling
> --------------------------------------------
>
>                 Key: LUCENE-4255
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4255
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4255.patch
>
>
> I don't like wrapping everything in the InitializationException, or that 
> inform() gets a resourceloader (whose methods throw IOExceptions), but every 
> analysis factory that implements this then needs to wrap the IOExceptions as 
> something else.
> I think its way more intuitive to use IllegalArgumentException in init(args), 
> and change inform() to throw IOException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to