iBatis for .NET
  1. iBatis for .NET
  2. IBATISNET-277

Better error message for "Specified cast is not valid."

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: DataMapper 1.6.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When getting an error about a result map setter, it would be nice to have which column and the value that is causing the error.

      System.InvalidCastException: Specified cast is not valid.

      at SetImplementation(Object , Object )
      at IBatisNet.Common.Utilities.Objects.Members.DelegatePropertySetAccessor.Set(Object target, Object value)

        Activity

        Michael Schall created issue -

          People

          • Assignee:
            Gilles Bayon
            Reporter:
            Michael Schall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development