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
| Name | Type | Summary |
|---|---|---|
| Data | IDictionary | Â |
| HelpLink | string | Â |
| HResult | int | Â |
| InnerException | Exception | Â |
| Message | string | Â |
| Source | string | Â |
| StackTrace | string | Â |
| TargetSite | MethodBase | Â |
Constructors
JsonSchemaException(string message)
Creates a new instance of the Json.Schema.JsonSchemaException type.
Declaration
1
public JsonSchemaException(string message)
| Parameter | Type | Description |
|---|---|---|
| message | string | The 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)
| Parameter | Type | Description |
|---|---|---|
| message | string | The error message that explains the reason for the exception. |
| innerException | Exception | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |