Class CommentNotFoundException

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

public class CommentNotFoundException extends RuntimeException
Exception thrown when a requested comment is not found.
See Also:
  • Constructor Details

    • CommentNotFoundException

      public CommentNotFoundException(Exception cause)
      Constructs a new exception with a default message and cause.
      Parameters:
      cause - the underlying exception that caused the failure