From: Sergey K. <jus...@us...> - 2005-03-05 10:37:41
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Type In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14798/src/NHibernate/Type Modified Files: NullableType.cs Log Message: Made "Could not cast" error message include the source type Index: NullableType.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/NullableType.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** NullableType.cs 31 Dec 2004 23:54:40 -0000 1.13 --- NullableType.cs 5 Mar 2005 10:37:29 -0000 1.14 *************** *** 230,234 **** { throw new ADOException( ! "Could not cast the value in field " + name + " to the Type " + this.GetType().Name + ". Please check to make sure that the mapping is correct and that your DataProvider supports this Data Type.", ice ); } --- 230,234 ---- { throw new ADOException( ! "Could not cast the value in field " + name + " of type " + rs[index].GetType().Name + " to the Type " + this.GetType().Name + ". Please check to make sure that the mapping is correct and that your DataProvider supports this Data Type.", ice ); } |