6 references to InputFormatterException
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonInputFormatter.cs (1)
123
return new
InputFormatterException
(jsonException.Message, jsonException);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
263
throw new
InputFormatterException
("Bad input!!", expectedFormatException);
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
XmlDataContractSerializerInputFormatter.cs (1)
161
throw new
InputFormatterException
(Resources.ErrorDeserializingInputData, exception);
XmlSerializerInputFormatter.cs (2)
152
throw new
InputFormatterException
(Resources.ErrorDeserializingInputData, exception.InnerException);
157
throw new
InputFormatterException
(Resources.ErrorDeserializingInputData, exception.InnerException);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
431
return new
InputFormatterException
(exception.Message, exception);