All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.exception.oauth.InvalidGrantException Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
package com.stripe.exception.oauth;

/**
 * InvalidGrantException is raised when a specified code doesn't exist, is
 * expired, has been used, or doesn't belong to you; a refresh token doesn't
 * exist, or doesn't belong to you; or if an API key's mode (live or test)
 * doesn't match the mode of a code or refresh token.
 */
public class InvalidGrantException extends OAuthException {
  private static final long serialVersionUID = 2L;

  public InvalidGrantException(String code, String description, String requestId,
      Integer statusCode, Throwable e) {
    super(code, description, requestId, statusCode, e);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy