Class FailedToSavePostException

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

public class FailedToSavePostException extends RuntimeException
Exception thrown when saving a post to the repository fails.
See Also:
  • Constructor Details

    • FailedToSavePostException

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