Author: gbayon Date: Thu Feb 1 09:28:47 2007 New Revision: 502295 URL: http://svn.apache.org/viewvc?view=rev&rev=502295 Log: - Updated error msg
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/PreparedStatementFactory.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/PreparedStatementFactory.cs URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/PreparedStatementFactory.cs?view=diff&rev=502295&r1=502294&r2=502295 ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/PreparedStatementFactory.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Statements/PreparedStatementFactory.cs Thu Feb 1 09:28:47 2007 @@ -217,7 +217,7 @@ return parameters[i]; } } - throw new IndexOutOfRangeException("The specified IDbDataParameter '" + property.ColumnName + "' does not exist: "); + throw new IndexOutOfRangeException("The parameter '" + property.ColumnName + "' does not exist in the stored procedure '" +_statement.Id+"'. Check your parameterMap."); } else {