Added in API level 26
UserPrincipalNotFoundException
open class UserPrincipalNotFoundException : IOException
| kotlin.Any | ||||
| ↳ | kotlin.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(name: String!)Constructs an instance of this class. |
|
| Public methods | |
|---|---|
| open String! |
getName()Returns the user principal name if this exception was created with the user principal name that was not found, otherwise |
Public constructors
UserPrincipalNotFoundException
Added in API level 26
UserPrincipalNotFoundException(name: String!)
Constructs an instance of this class.
| Parameters | |
|---|---|
name |
String!: the principal name; may be null |
Public methods
getName
Added in API level 26
open fun getName(): String!
Returns the user principal name if this exception was created with the user principal name that was not found, otherwise null.
| Return | |
|---|---|
String! |
the user principal name or null |