Home JsonSchemaException Class
JsonSchemaException Class
Cancel

JsonSchemaException Class

Namespace: Json.Schema

Inheritance: JsonSchemaException 🡒 Exception 🡒 object

Implemented interfaces:

  • ISerializable

Thrown when a schema is invalid or cannot be processed with the current configuration.

Properties

NameTypeSummary
DataIDictionary 
HelpLinkstring 
HResultint 
InnerExceptionException 
Messagestring 
Sourcestring 
StackTracestring 
TargetSiteMethodBase 

Constructors

JsonSchemaException(string message)

Creates a new instance of the Json.Schema.JsonSchemaException type.

Declaration

1
public JsonSchemaException(string message)
ParameterTypeDescription
messagestringThe message that describes the error.

JsonSchemaException(string message, Exception innerException)

Initializes a new instance of the JsonSchemaException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration

1
public JsonSchemaException(string message, Exception innerException)
ParameterTypeDescription
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Contents