[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3261?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira