public static Exception Create(string parameterName, string message)
 {
     ParameterMismatchException ex = new ParameterMismatchException(message);
     ex.Data["name"] = parameterName;
     return ex;
 }
 public static Exception Create(string parameterName)
 {
     ParameterMismatchException ex = new ParameterMismatchException(string.Format("@{0} element missing or wrong type", parameterName));
     ex.Data["name"] = parameterName;
     return ex;
 }