public class

Errors

extends GenericJson
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ com.google.api.client.util.GenericData
       ↳ com.google.api.client.json.GenericJson
         ↳ fm.audiobox.core.exceptions.Errors

Class Overview

This class is used to parse error messages.

Summary

Public Constructors
Errors()
Public Methods
String getError()
Gets error.
String getErrorDescription()
Gets error description.
void setError(String error)
Sets error.
void setErrorDescription(String errorDescription)
Sets error description.
String toString()
[Expand]
Inherited Methods
From class com.google.api.client.json.GenericJson
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 Errors ()

Public Methods

public String getError ()

Gets error.

Returns
  • the error

public String getErrorDescription ()

Gets error description.

Returns
  • the error description

public void setError (String error)

Sets error.

Parameters
error the error

public void setErrorDescription (String errorDescription)

Sets error description.

Parameters
errorDescription the error description

public String toString ()