Update of /cvsroot/nhibernate/nhibernate/src/NHibernate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6973
Modified Files:
HibernateException.cs
Log Message:
If no message is provided then the wrapped exceptions message
is used.
Index: HibernateException.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/HibernateException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** HibernateException.cs 22 Nov 2004 03:50:03 -0000 1.6
--- HibernateException.cs 2 Dec 2004 21:26:01 -0000 1.7
***************
*** 12,24 ****
public class HibernateException : ApplicationException
{
! public HibernateException() : base (String.Empty) { }
! public HibernateException(Exception e) : base(String.Empty, e) { }
! public HibernateException(string message, Exception e) : base(message, e) { }
! public HibernateException(string message) : base(message) { }
! protected HibernateException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
}
--- 12,34 ----
public class HibernateException : ApplicationException
{
! public HibernateException() : base( String.Empty )
! {
! }
! public HibernateException(Exception e) : base( e.Message, e )
! {
! }
! public HibernateException(string message, Exception e) : base( message, e )
! {
! }
! public HibernateException(string message) : base( message )
! {
! }
! protected HibernateException(SerializationInfo info, StreamingContext context) : base(info, context)
! {
! }
}
}
|