Class FailedToFindPostByIdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.post.exception.FailedToFindPostByIdException
- All Implemented Interfaces:
Serializable
Exception thrown when a post lookup by ID fails due to a repository error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception wrapping the underlying repository error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedToFindPostByIdException
Constructs a new exception wrapping the underlying repository error.- Parameters:
cause- the underlying cause of the exception
-