public final class InvalidRequestException extends IOException
This is equivalent to GCM posts that return an HTTP error different of 200.
Constructor and Description |
---|
InvalidRequestException(int status) |
InvalidRequestException(int status,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the error description.
|
int |
getHttpStatusCode()
Gets the HTTP Status Code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRequestException(int status)
public InvalidRequestException(int status, String description)
public int getHttpStatusCode()
public String getDescription()
Copyright © 2014. All Rights Reserved.