JsonSchemaException
Returns detailed information about the schema exception.
using System;
namespace Newtonsoft.Json.Schema
{
public class JsonSchemaException : JsonException
{
public int LineNumber { get; set; }
public int LinePosition { get; set; }
public string Path { get; set; }
public JsonSchemaException()
{
}
public JsonSchemaException(string message)
: base(message)
{
}
public JsonSchemaException(string message, Exception innerException)
: base(message, innerException)
{
}
internal JsonSchemaException(string message, Exception innerException, string path, int lineNumber, int linePosition)
: base(message, innerException)
{
Path = path;
LineNumber = lineNumber;
LinePosition = linePosition;
}
}
}