Class LoginFailedException

All Implemented Interfaces:
Serializable

public class LoginFailedException extends RuntimeException
Exception thrown to indicate a failed login attempt.

This exception is typically used when authentication fails, and the application needs to communicate the failure reason to the user or handle it in a specific way.

Inherits from RuntimeException for unchecked exception handling.

See Also:
  • Constructor Details

    • LoginFailedException

      public LoginFailedException(String message)
      Constructs a new LoginFailedException with the specified error message.
      Parameters:
      message - The detail message indicating the reason for the login failure.