[ 
https://issues.apache.org/jira/browse/SOLR-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754528#action_12754528
 ] 

Benson Margulies commented on SOLR-1425:
----------------------------------------

Are there existing test cases in this area?


> Better exception messages for classloader mishaps
> -------------------------------------------------
>
>                 Key: SOLR-1425
>                 URL: https://issues.apache.org/jira/browse/SOLR-1425
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Benson Margulies
>
> If an idiot such as myself tries to specify a filter or such that lives in a 
> parent classloader, such as the system classloader of a servlet container, 
> Solr will fail to load it. The JVM is prone to create an exception that 
> mentions some Solr interface as being missing instead of the filter itself. 
> It would be less confusing for the miscreant if Solr were to try/catch 
> ClassNotFound and NoClassDefError and throw its own exception with the name 
> of the thing specified in the schema included in the message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to