Author: epbernard
Date: 2008-05-01 16:24:01 -0400 (Thu, 01 May 2008)
New Revision: 14618
Modified:
core/trunk/core/src/main/java/org/hibernate/event/EventListeners.java
Log:
Propagate the nested exception when an EventListener init fails
Modified: core/trunk/core/src/main/java/org/hibernate/event/EventListeners.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/event/EventListeners.java 2008-05-01
16:18:03 UTC (rev 14617)
+++ core/trunk/core/src/main/java/org/hibernate/event/EventListeners.java 2008-05-01
20:24:01 UTC (rev 14618)
@@ -172,7 +172,7 @@
}
}
catch ( Exception e ) {
- throw new AssertionFailure( "could not process listeners" );
+ throw new AssertionFailure( "could not process listeners", e );
}
}
}