Package dev.reuss.tmdb.core.exception
Class TmdbNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.reuss.tmdb.core.exception.TmdbException
dev.reuss.tmdb.core.exception.TmdbApiException
dev.reuss.tmdb.core.exception.TmdbNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when TMDB reports that a requested resource was not found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTmdbNotFoundException(String message, int httpStatus, int tmdbStatusCode, String responseBody) Creates a not-found API exception. -
Method Summary
Methods inherited from class dev.reuss.tmdb.core.exception.TmdbApiException
error, httpStatus, responseBody, tmdbStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TmdbNotFoundException
public TmdbNotFoundException(String message, int httpStatus, int tmdbStatusCode, String responseBody) Creates a not-found API exception.- Parameters:
message- error messagehttpStatus- HTTP status codetmdbStatusCode- TMDB status code, or0if unavailableresponseBody- raw response body
-