# Print output for @column tags ?> UserPrincipalNotFoundException - Android SDK | Android Developers

Most visited


Recently visited


UserPrincipalNotFoundException

public class UserPrincipalNotFoundException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.nio.file.attribute.UserPrincipalNotFoundException


Checked exception thrown when a lookup of UserPrincipal fails because the principal does not exist.

Summary


Public constructors

UserPrincipalNotFoundException(String name)

Constructs an instance of this class.

Public methods

String getName()

Returns the user principal name if this exception was created with the user principal name that was not found, otherwise null.

Inherited methods

Public constructors


UserPrincipalNotFoundException

public UserPrincipalNotFoundException (String name)

Constructs an instance of this class.

Parameters
name String: the principal name; may be null

Public methods


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
String the user principal name or null

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.