Module java.base

Class AccountNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class AccountNotFoundException
    extends AccountException
    Signals that an account was not found.

    This exception may be thrown by a LoginModule if it is unable to locate an account necessary to perform authentication.

    Since:
    1.5
    See Also:
    Serialized Form
    • Constructor Detail

      • AccountNotFoundException

        public AccountNotFoundException()
        Constructs a AccountNotFoundException with no detail message. A detail message is a String that describes this particular exception.
      • AccountNotFoundException

        public AccountNotFoundException​(String msg)
        Constructs a AccountNotFoundException with the specified detail message. A detail message is a String that describes this particular exception.
        Parameters:
        msg - the detail message.