summaryrefslogtreecommitdiffstats
path: root/keystore/java/android/security/UserNotAuthenticatedException.java
diff options
context:
space:
mode:
Diffstat (limited to 'keystore/java/android/security/UserNotAuthenticatedException.java')
-rw-r--r--keystore/java/android/security/UserNotAuthenticatedException.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/keystore/java/android/security/UserNotAuthenticatedException.java b/keystore/java/android/security/UserNotAuthenticatedException.java
index b45817c..e6342ef 100644
--- a/keystore/java/android/security/UserNotAuthenticatedException.java
+++ b/keystore/java/android/security/UserNotAuthenticatedException.java
@@ -23,11 +23,27 @@ package android.security;
* @hide
*/
public class UserNotAuthenticatedException extends CryptoOperationException {
+
+ /**
+ * Constructs a new {@code UserNotAuthenticatedException} without detail message and cause.
+ */
public UserNotAuthenticatedException() {
super("User not authenticated");
}
+ /**
+ * Constructs a new {@code UserNotAuthenticatedException} with the provided detail message and
+ * no cause.
+ */
public UserNotAuthenticatedException(String message) {
super(message);
}
+
+ /**
+ * Constructs a new {@code UserNotAuthenticatedException} with the provided detail message and
+ * cause.
+ */
+ public UserNotAuthenticatedException(String message, Throwable cause) {
+ super(message, cause);
+ }
}