From: Michael D. <mik...@us...> - 2004-11-30 18:37:00
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26812/NHibernate/Loader Modified Files: Loader.cs Log Message: Modified how exceptions are rethrown - NH-153 and this blog http://dotnetguy.techieswithcats.com/archives/004118.shtml inspired effort. Index: Loader.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader/Loader.cs,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** Loader.cs 22 Nov 2004 03:53:07 -0000 1.41 --- Loader.cs 30 Nov 2004 18:36:51 -0000 1.42 *************** *** 238,244 **** } } catch (Exception e) { ! throw e; } finally --- 238,246 ---- } } + // TODO: change to SqlException catch (Exception e) { ! // TODO: log the SqlException ! throw; } finally |