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
Exception thrown when a requested comment is not found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with a default message and 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
-
CommentNotFoundException
Constructs a new exception with a default message and cause.- Parameters:
cause- the underlying exception that caused the failure
-