[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-421) Exceptions happening in backend are unnoticed

Amin Mohammed-Coleman (JIRA) noreply at atlassian.com
Thu Apr 1 13:51:31 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36068#action_36068 ] 

Amin Mohammed-Coleman commented on HSEARCH-421:
-----------------------------------------------

Hi

Please find attached a patch with the usage of the ErrorHandler. I've removed the Operation class as it was duplicating the LuceneWork so I've just used that.  I think there may be comments on the usage of the error handler in the PerDPProcessor, just wasn't sure about getting the primary exception and subsequent failures.  Would be grateful for your thoughts.  The default implementation may need some more work which I'm guess you will want.

Thanks

P.S. I think the formatting should be more aligned to your convention.  IntelliJ was doing some optimisation of the imports hence the inconsistencies.

> Exceptions happening in backend are unnoticed
> ---------------------------------------------
>
>                 Key: HSEARCH-421
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-421
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.1.0.GA, 3.1.1.GA
>            Reporter: Sanne Grinovero
>             Fix For: 3.2.0.Beta2
>
>         Attachments: HibernateSearch-421-01042010.patch, HibernateSearch-421-24032010-FixedStyle.patch, HibernateSearch-421-24032010.patch
>
>
> Any exception happening in the backend is not noticed as it happens in a separate thread.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list