Class FailedToFindPostsByAuthorIdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.post.exception.FailedToFindPostsByAuthorIdException
- All Implemented Interfaces:
Serializable
Thrown when the repository fails to retrieve posts by author ID.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the specified 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
-
FailedToFindPostsByAuthorIdException
Constructs a new exception with the specified cause.- Parameters:
cause- the underlying cause of the exception
-