Class InvalidGrantException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidGrantException
    extends OAuthException
    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.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidGrantException​(java.lang.String code, java.lang.String description, java.lang.String requestId, java.lang.Integer statusCode, java.lang.Throwable e)  
    • Constructor Detail

      • InvalidGrantException

        public InvalidGrantException​(java.lang.String code,
                                     java.lang.String description,
                                     java.lang.String requestId,
                                     java.lang.Integer statusCode,
                                     java.lang.Throwable e)