Class PostNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.post.exception.PostNotFoundException
All Implemented Interfaces:
Serializable

public class PostNotFoundException extends RuntimeException
Exception thrown when a requested post does not exist.
See Also:
  • Constructor Details

    • PostNotFoundException

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