public final class

InvalidRequestException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ com.google.android.gcm.server.InvalidRequestException

Class Overview

Exception thrown when GCM returned an error due to an invalid request.

This is equivalent to GCM posts that return an HTTP error different of 200.

Summary

Public Constructors
InvalidRequestException(int status)
InvalidRequestException(int status, String description)
Public Methods
String getDescription()
Gets the error description.
int getHttpStatusCode()
Gets the HTTP Status Code.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidRequestException (int status)

public InvalidRequestException (int status, String description)

Public Methods

public String getDescription ()

Gets the error description.

public int getHttpStatusCode ()

Gets the HTTP Status Code.