Module java.base

Class UserPrincipalNotFoundException

    • Constructor Detail

      • UserPrincipalNotFoundException

        public UserPrincipalNotFoundException​(String name)
        Constructs an instance of this class.
        Parameters:
        name - the principal name; may be null
    • Method Detail

      • getName

        public String getName​()
        Returns the user principal name if this exception was created with the user principal name that was not found, otherwise null.
        Returns:
        the user principal name or null