ClearCredentialStateException
public
class
ClearCredentialStateException
extends Exception
| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | android.credentials.ClearCredentialStateException | ||
Represents an error encountered during the
CredentialManager.clearCredentialState(ClearCredentialStateRequest,
CancellationSignal, Executor, OutcomeReceiver) operation.
Summary
Constants | |
|---|---|
String |
TYPE_UNKNOWN
The error type value for when the given operation failed due to an unknown reason. |
Public constructors | |
|---|---|
ClearCredentialStateException(String type)
Constructs a |
|
ClearCredentialStateException(String type, String message)
Constructs a |
|
ClearCredentialStateException(String type, String message, Throwable cause)
Constructs a |
|
ClearCredentialStateException(String type, Throwable cause)
Constructs a |
|
Public methods | |
|---|---|
String
|
getType()
Returns the specific exception type. |
Inherited methods | |
|---|---|
Constants
TYPE_UNKNOWN
public static final String TYPE_UNKNOWN
The error type value for when the given operation failed due to an unknown reason.
Constant Value: "android.credentials.ClearCredentialStateException.TYPE_UNKNOWN"
Public constructors
ClearCredentialStateException
public ClearCredentialStateException (String type)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
| Throws | |
|---|---|
IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
public ClearCredentialStateException (String type, String message)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
message |
String: This value may be null. |
| Throws | |
|---|---|
IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
public ClearCredentialStateException (String type, String message, Throwable cause)
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. |
| Throws | |
|---|---|
IllegalArgumentException |
If type is empty. |
ClearCredentialStateException
public ClearCredentialStateException (String type, Throwable cause)
Constructs a ClearCredentialStateException.
| Parameters | |
|---|---|
type |
String: This value cannot be null. |
cause |
Throwable: This value may be null. |
| Throws | |
|---|---|
IllegalArgumentException |
If type is empty. |
Public methods
getType
public String getType ()
Returns the specific exception type.
| Returns | |
|---|---|
String |
This value cannot be null. |