From: <one...@us...> - 2002-11-27 13:47:38
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy In directory sc8-pr-cvs1:/tmp/cvs-serv24254/cirrus/hibernate/proxy Modified Files: LazyInitializer.java Log Message: correctly propagate exceptions via proxies fixed uncompilable calendar types for JDK1.2 added --format and --delimiter options to SchemaExport Index: LazyInitializer.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/proxy/LazyInitializer.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** LazyInitializer.java 26 Nov 2002 03:35:44 -0000 1.11 --- LazyInitializer.java 27 Nov 2002 13:47:34 -0000 1.12 *************** *** 3,6 **** --- 3,7 ---- import java.io.Serializable; + import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.sql.SQLException; *************** *** 105,109 **** // otherwise: ! return method.invoke( getImplementation(), args ); } --- 106,115 ---- // otherwise: ! try { ! return method.invoke( getImplementation(), args ); ! } ! catch (InvocationTargetException ite) { ! throw ite.getTargetException(); ! } } |