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 |
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 |