Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Tool/hbm2ddl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3965/NHibernate/Tool/hbm2ddl
Modified Files:
SchemaExport.cs
Log Message:
Fixed exception rethrow so it doesn't lose original exception.
Index: SchemaExport.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Tool/hbm2ddl/SchemaExport.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** SchemaExport.cs 20 Aug 2004 02:00:20 -0000 1.11
--- SchemaExport.cs 27 Dec 2004 02:27:28 -0000 1.12
***************
*** 213,217 ****
{
Console.Write(e.StackTrace);
! throw new HibernateException( e.Message );
}
finally
--- 213,217 ----
{
Console.Write(e.StackTrace);
! throw new HibernateException( e.Message, e );
}
finally
|