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

public class FailedToDeletePostException extends RuntimeException
Exception thrown when a post deletion operation fails due to database or system errors.
See Also:
  • Constructor Details

    • FailedToDeletePostException

      public FailedToDeletePostException(Exception cause)
      Constructs a new FailedToDeletePostException with a default message and underlying cause.
      Parameters:
      cause - the underlying cause of the exception