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
Thrown when user profile update fails for reasons other than uniqueness constraint violations.
Mapped to HTTP 500 INTERNAL_SERVER_ERROR.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new FailedToUpdateUser exception with a default error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedToUpdateUserException
Constructs a new FailedToUpdateUser exception with a default error message.- Parameters:
cause- the underlying cause of the exception
-