Class ExcessiveAttemptsException

  • All Implemented Interfaces:

    public class ExcessiveAttemptsException
    extends AccountException
    Thrown when a system is configured to only allow a certain number of authentication attempts over a period of time and the current session has failed to authenticate successfully within that number. The resulting action of such an exception is application-specific, but most systems either temporarily or permanently lock that account to prevent further attempts.
    Since:
    0.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExcessiveAttemptsException()
      Creates a new ExcessiveAttemptsException.
       message)
      Constructs a new ExcessiveAttemptsException.
       message,  cause)
      Constructs a new ExcessiveAttemptsException.
       cause)
      Constructs a new ExcessiveAttemptsException.
    • Method Summary

      • Methods inherited from class java.lang.

        , , , , , , , , , , , ,
      • Methods inherited from class java.lang.

        , , , , , , , , ,
    • Constructor Detail

      • ExcessiveAttemptsException

        public ExcessiveAttemptsException()
        Creates a new ExcessiveAttemptsException.
      • ExcessiveAttemptsException

        public ExcessiveAttemptsException​( message)
        Constructs a new ExcessiveAttemptsException.
        Parameters:
        message - the reason for the exception
      • ExcessiveAttemptsException

        public ExcessiveAttemptsException​( cause)
        Constructs a new ExcessiveAttemptsException.
        Parameters:
        cause - the underlying Throwable that caused this exception to be thrown.
      • ExcessiveAttemptsException

        public ExcessiveAttemptsException​( message,
                                           cause)
        Constructs a new ExcessiveAttemptsException.
        Parameters:
        message - the reason for the exception
        cause - the underlying Throwable that caused this exception to be thrown.