Class FailedToCreateCommentException

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

public class FailedToCreateCommentException extends RuntimeException
Exception thrown when a comment creation operation fails.
See Also:
  • Constructor Details

    • FailedToCreateCommentException

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