Class FailedToDeletePostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.post.exception.FailedToDeletePostException
- All Implemented Interfaces:
Serializable
Exception thrown when a post deletion operation fails due to database or system errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new FailedToDeletePostException with a default message and underlying 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
-
FailedToDeletePostException
Constructs a new FailedToDeletePostException with a default message and underlying cause.- Parameters:
cause- the underlying cause of the exception
-