Class InvalidRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.fineract.infrastructure.gcm.exception.InvalidRequestException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidRequestException(int status) InvalidRequestException(int status, String description) -
Method Summary
Modifier and TypeMethodDescriptionGets the error description.intGets the HTTP Status Code.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidRequestException
public InvalidRequestException(int status) -
InvalidRequestException
-
-
Method Details
-
getHttpStatusCode
public int getHttpStatusCode()Gets the HTTP Status Code. -
getDescription
Gets the error description.
-