com.google.android.gcm.server
Class InvalidRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.google.android.gcm.server.InvalidRequestException
- All Implemented Interfaces:
- java.io.Serializable
public final class InvalidRequestException
- extends java.io.IOException
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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidRequestException
public InvalidRequestException(int status)
InvalidRequestException
public InvalidRequestException(int status,
java.lang.String description)
getHttpStatusCode
public int getHttpStatusCode()
- Gets the HTTP Status Code.
getDescription
public java.lang.String getDescription()
- Gets the error description.