| JsonWriterException Constructor (String, String, Exception) |
Initializes a new instance of the
JsonWriterException class
with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public JsonWriterException(
string message,
string path,
Exception innerException
)
Parameters
- message
- Type: SystemString
The error message that explains the reason for the exception. - path
- Type: SystemString
The path to the JSON where the error occurred. - innerException
- Type: SystemException
The exception that is the cause of the current exception, or null if no inner exception is specified.
See Also