Table of Contents

Class JsonException

Namespace
Alis.Core.Aspect.Data.Json
Assembly
Alis.dll

The exception that is thrown when a JSON error occurs.

[Serializable]
public class JsonException : Exception, ISerializable

Inheritance

Implements

Inherited Members

Constructors

JsonException()

Initializes a new instance of the Alis.Core.Aspect.Data.Json.JsonException class.

public JsonException()

JsonException(string)

Initializes a new instance of the Alis.Core.Aspect.Data.Json.JsonException class.

public JsonException(string message)

Parameters

message string

The message that describes the error.

JsonException(string, Exception)

Initializes a new instance of the Alis.Core.Aspect.Data.Json.JsonException class.

public JsonException(string message, Exception innerException)

Parameters

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 ( Nothing in Visual Basic) if no inner exception is specified.

JsonException(Exception)

Initializes a new instance of the Alis.Core.Aspect.Data.Json.JsonException class.

public JsonException(Exception innerException)

Parameters

innerException Exception

The inner exception.

Fields

Prefix

The error prefix.

public const string Prefix = "JSO"

Field Value

string

Properties

Code

Gets the error code.

public int Code { get; }

Property Value

int

Methods

GetCode(string)

Gets the error code.

public static int GetCode(string message)

Parameters

message string

The message.

Returns

int

The error code.