ClearCredentialStateException
open class ClearCredentialStateException : Exception
| kotlin.Any | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | android.credentials.ClearCredentialStateException | ||
Represents an error encountered during the CredentialManager.clearCredentialState(ClearCredentialStateRequest, operation.
Summary
| Constants | |
|---|---|
| static String |
The error type value for when the given operation failed due to an unknown reason. |
| Public constructors | |
|---|---|
|
Constructs a |
|
ClearCredentialStateException(type: String, message: String?)Constructs a |
|
ClearCredentialStateException(type: String, message: String?, cause: Throwable?)Constructs a |
|
ClearCredentialStateException(type: String, cause: Throwable?)Constructs a |
|
| Public methods | |
|---|---|
| open String |
getType()Returns the specific exception type. |
Constants
TYPE_UNKNOWN
static val TYPE_UNKNOWN: String
The error type value for when the given operation failed due to an unknown reason.
Value: "android.credentials.ClearCredentialStateException.TYPE_UNKNOWN"Public constructors
ClearCredentialStateException
ClearCredentialStateException(type: String)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
ClearCredentialStateException(
type: String,
message: String?)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
message |
String?: This value may be null. |
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
ClearCredentialStateException(
type: String,
message: String?,
cause: Throwable?)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
message |
String?: This value may be null. |
cause |
Throwable?: This value may be null. |
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
ClearCredentialStateException(
type: String,
cause: Throwable?)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
cause |
Throwable?: This value may be null. |
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException |
If type is empty. |
Public methods
getType
open fun getType(): String
Returns the specific exception type.
| Return | |
|---|---|
String |
This value cannot be null. |