This could actually do it without having to write code:
In your catch block, add a break point at the following line of code:
catch (Exception exception)
{
}
Now if you hover on exception
or add it to the Watch
and then navigate into the exception details as shown below; you will see which particular column(s) is/ are causing the problem as this error usually occurs when a table-constraint is violated..
Large image