Propagate the nested exception when an EventListener init fails

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14618 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2008-05-01 20:24:01 +00:00
parent ae40e5a70f
commit 957704b242
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class EventListeners extends Cloneable implements Serializable {
}
}
catch ( Exception e ) {
throw new AssertionFailure( "could not process listeners" );
throw new AssertionFailure( "could not process listeners", e );
}
}
}