Class FailedToUpdateUserException

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

public class FailedToUpdateUserException extends RuntimeException
Thrown when user profile update fails for reasons other than uniqueness constraint violations. Mapped to HTTP 500 INTERNAL_SERVER_ERROR.
See Also:
  • Constructor Details

    • FailedToUpdateUserException

      public FailedToUpdateUserException(Exception cause)
      Constructs a new FailedToUpdateUser exception with a default error message.
      Parameters:
      cause - the underlying cause of the exception