Class UnknownAccountException

  • All Implemented Interfaces:

    public class UnknownAccountException
    extends AccountException
    Thrown when attempting to authenticate with a principal that doesn't exist in the system (e.g. by specifying a username that doesn't relate to a user account).

    Whether or not an application wishes to alert a user logging in to the system of this fact is at the discretion of those responsible for designing the view and what happens when this exception occurs.

    Since:
    0.1
    See Also:
    Serialized Form
    • Constructor Summary

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

      • Methods inherited from class java.lang.

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

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

      • UnknownAccountException

        public UnknownAccountException()
        Creates a new UnknownAccountException.
      • UnknownAccountException

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

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

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