Package exceptions

Class SystemLoginException

All Implemented Interfaces:
Serializable

public class SystemLoginException extends Exception
An exception class for system login-related errors.
See Also:
  • Constructor Details

    • SystemLoginException

      public SystemLoginException(String message, Throwable cause)
      Constructs a new SystemLoginException with the specified detail message and cause.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method)
      cause - the cause (which is saved for later retrieval by the getCause() method)
  • Method Details

    • throwLoginError_INCORRECT_USERNAME_OR_PASSWORD

      public static void throwLoginError_INCORRECT_USERNAME_OR_PASSWORD() throws SystemLoginException
      Throws a SystemLoginException for the case of incorrect username or password.
      Throws:
      SystemLoginException - the SystemLoginException with the corresponding error message
    • throwLoginError_MISSING_USERNAME_OR_PASSWORD

      public static void throwLoginError_MISSING_USERNAME_OR_PASSWORD() throws SystemLoginException
      Throws a SystemLoginException for the case of missing username or password.
      Throws:
      SystemLoginException - the SystemLoginException with the corresponding error message