JsonException

constructor(@NonNull message: String)

Constructs a new JsonException with the current stack trace and the specified detail message.

Parameters

message

The detail message for this exception.


constructor(@NonNull message: String, @Nullable cause: Throwable)

Constructs a new JsonException with the current stack trace, the specified detail message and the specified cause.

Parameters

message

The detail message for this exception.

cause

The cause of this exception.