summaryrefslogtreecommitdiff
path: root/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
diff options
context:
space:
mode:
Diffstat (limited to 'ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java')
-rw-r--r--ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
index 24dd7db..efaddad 100644
--- a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
+++ b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
@@ -90,6 +90,11 @@ public class AuthenticationException extends Exception {
public static final int ERROR_INVALID_HTTP_RESPONSE = 8;
/**
+ * Authentication request failed because the request parameters were malformed.
+ */
+ public static final int ERROR_INVALID_REQUEST = 9;
+
+ /**
* Authentication errors that can be returned by the TS.43 authentication library or
* service entitlement library.
*/
@@ -104,6 +109,7 @@ public class AuthenticationException extends Exception {
ERROR_MAXIMUM_EAP_AKA_ATTEMPTS,
ERROR_HTTP_RESPONSE_FAILED,
ERROR_INVALID_HTTP_RESPONSE,
+ ERROR_INVALID_REQUEST,
})
public @interface AuthenticationError {}