Class FailedToCreatePostException

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

public class FailedToCreatePostException extends RuntimeException
Exception thrown when post creation fails due to underlying service or repository errors.
See Also:
  • Constructor Details

    • FailedToCreatePostException

      public FailedToCreatePostException(Exception cause)
      Constructs a new exception with the cause of the failure.
      Parameters:
      cause - the underlying cause of the exception