lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-3363) Replace RuntimeExceptions in Analysis Factories
Date Fri, 20 Apr 2012 10:54:40 GMT


Chris Male updated SOLR-3363:

    Attachment: SOLR-3363.patch

> Replace RuntimeExceptions in Analysis Factories
> -----------------------------------------------
>                 Key: SOLR-3363
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Chris Male
>         Attachments: SOLR-3363.patch
> Currently there is no consistent use of Exceptions in Analysis factories.  Some throw
RuntimeExceptions, some throw SolrExceptions, some include information about an Exception
they are wrapping, others just wrap, throw and move on.  
> I think a better way would be to have an InitializationException that the Factories can
throw in {{init()}} or {{inform(ResourceLoader)}}.  We can then tailor the Exception to meet
the needs of the Factories, and it gives us a bit of future proofing if/when we improve the
property validation done in the factories.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message