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

public final class InvalidRequestException extends 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:
  • Constructor Details

    • InvalidRequestException

      public InvalidRequestException(int status)
    • InvalidRequestException

      public InvalidRequestException(int status, String description)
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      Gets the HTTP Status Code.
    • getDescription

      public String getDescription()
      Gets the error description.