Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed May 5, 2010
1 parent 219374d commit 68a125f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/MongoDB/Configuration/Mapping/Model/MemberMapBase.cs
Expand Up @@ -80,6 +80,10 @@ public virtual void SetValue(object instance, object value)
{
throw new MongoException("Can not convert value from " + valueType + " to " + _memberReturnType + " on " + instance.GetType() + "." + _memberName, exception);
}
catch(ArgumentException exception)
{
throw new MongoException("Can not convert value from " + valueType + " to " + _memberReturnType + " on " + instance.GetType() + "." + _memberName, exception);
}

_setter(instance, value);
}
Expand Down

0 comments on commit 68a125f

Please sign in to comment.