Class TmdbUnauthorizedException

All Implemented Interfaces:
Serializable

public final class TmdbUnauthorizedException extends TmdbApiException
Exception thrown when TMDB rejects a request because authentication or authorization failed.
See Also:
  • Constructor Details

    • TmdbUnauthorizedException

      public TmdbUnauthorizedException(String message, int httpStatus, int tmdbStatusCode, String responseBody)
      Creates an unauthorized API exception.
      Parameters:
      message - error message
      httpStatus - HTTP status code
      tmdbStatusCode - TMDB status code, or 0 if unavailable
      responseBody - raw response body