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

public class FailedToFindPostByIdException extends RuntimeException
Exception thrown when a post lookup by ID fails due to a repository error.
See Also:
  • Constructor Details

    • FailedToFindPostByIdException

      public FailedToFindPostByIdException(Exception cause)
      Constructs a new exception wrapping the underlying repository error.
      Parameters:
      cause - the underlying cause of the exception