public class

JsonException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.urbanairship.json.JsonException

Class Overview

Thrown when a JsonValue is unable to wrap an object or unable to parse a JSON encoded String.

Summary

Public Constructors
JsonException(String message)
Constructs a new JsonException with the current stack trace and the specified detail message.
JsonException(String message, Throwable cause)
Constructs a new JsonException with the current stack trace, the specified detail message and the specified cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public JsonException (String message)

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

Parameters
message The detail message for this exception.

public JsonException (String message, Throwable cause)

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.