Class FailedToCreateUserException

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

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

    • FailedToCreateUserException

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