Package dev.reuss.tmdb.core.exception
Class TmdbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.reuss.tmdb.core.exception.TmdbException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TmdbApiException,TmdbClientException,TmdbMappingException
Base unchecked exception for SDK failures.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTmdbException(String message) Creates an exception with a detail message.TmdbException(String message, Throwable cause) Creates an exception with a detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TmdbException
Creates an exception with a detail message.- Parameters:
message- detail message
-
TmdbException
Creates an exception with a detail message and cause.- Parameters:
message- detail messagecause- cause of the failure
-