[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3261) Do not wrap exceptions raised by event listeners (at init or destroy time)
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue May 6 11:31:34 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30130 ]
Emmanuel Bernard commented on HHH-3261:
---------------------------------------
The code change is due to a refactoring in EventListeners.
I saw that in a unit test from Hibernate Search. I used to receive SearchException. they are now wrapped into HibernateException (actually they where wrapped in AssertionFailureExceptions which was clearly wrong, so I fixed that part)
> Do not wrap exceptions raised by event listeners (at init or destroy time)
> --------------------------------------------------------------------------
>
> Key: HHH-3261
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3261
> Project: Hibernate3
> Issue Type: Bug
> Components: core
> Affects Versions: 3.3.0.CR1
> Reporter: Emmanuel Bernard
> Assignee: Steve Ebersole
> Fix For: 3.3.0.CR2
>
>
> 3.3 does wrap event listeners exceptions into 2 layers of HibernateException.
> Should we leave the exceptions naked instead? This is what the old 3.2 codebase was doing?
--
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