public final class StorageException extends Exception
This class is not intended to be instantiated or extended by clients.
Modifier and Type | Field and Description |
---|---|
static int |
DECRYPTION_ERROR
Error occurred during the decryption process.
|
static int |
ENCRYPTION_ERROR
Error occurred during the encryption process.
|
static int |
INTERNAL_ERROR
Internal error due to a problem in setup or internal implementation.
|
static int |
NO_PASSWORD
Secure preferences were unable to retrieve the password.
|
static int |
NO_SECURE_MODULE
No appropriate password provider module is available.
|
Constructor and Description |
---|
StorageException(int errorCode,
String message) |
StorageException(int errorCode,
Throwable exception) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int INTERNAL_ERROR
public static final int NO_SECURE_MODULE
public static final int ENCRYPTION_ERROR
Such error might have being created by using inappropriate key, for instance, using key that is too strong for the cryptographic policy in JVM.
public static final int DECRYPTION_ERROR
This error might be caused by an incorrect password or corrupted data.
public static final int NO_PASSWORD
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.