public class

KinveyJsonError

extends GenericData
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ com.google.api.client.util.GenericData
       ↳ com.kinvey.java.core.KinveyJsonError

Summary

Public Constructors
KinveyJsonError()
Public Methods
final String getDebug()
final String getDescription()
final String getError()
static KinveyJsonError parse(JsonFactory jsonFactory, HttpResponse response)
Parses the HttpResponse as a standard Kinvey error.
final void setDebug(String debug)
final void setDescription(String description)
final void setError(String error)
[Expand]
Inherited Methods
From class com.google.api.client.util.GenericData
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Public Constructors

public KinveyJsonError ()

Public Methods

public final String getDebug ()

Returns
  • the debug

public final String getDescription ()

Returns
  • the description

public final String getError ()

Returns
  • the error

public static KinveyJsonError parse (JsonFactory jsonFactory, HttpResponse response)

Parses the HttpResponse as a standard Kinvey error.

Parameters
jsonFactory the json factory to use while parsing
response raw http response to parse
Returns
  • standard error object
Throws
IOException error occurred during parse

public final void setDebug (String debug)

Parameters
debug the debug to set

public final void setDescription (String description)

Parameters
description the description to set

public final void setError (String error)

Parameters
error the error to set