From eff68f3f28aa4a31a58259e118b36451afe2d8d8 Mon Sep 17 00:00:00 2001 From: Ahmad Kemsan Date: Tue, 24 Mar 2026 14:39:49 +0530 Subject: [PATCH] chore: added server license expiry error code --- .../lexfloatclient/LexFloatClientException.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lexfloatclient/src/main/java/com/cryptlex/android/lexfloatclient/LexFloatClientException.java b/lexfloatclient/src/main/java/com/cryptlex/android/lexfloatclient/LexFloatClientException.java index 86acb45..541ab8a 100644 --- a/lexfloatclient/src/main/java/com/cryptlex/android/lexfloatclient/LexFloatClientException.java +++ b/lexfloatclient/src/main/java/com/cryptlex/android/lexfloatclient/LexFloatClientException.java @@ -128,6 +128,9 @@ public static String getErrorMessage(int errorCode) { case LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER: message = "The grace period for server license is over."; break; + case LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY: + message = "Requested offline lease duration exceeds server license expiry date."; + break; case LF_E_PROXY_NOT_TRUSTED: message = "Request blocked due to untrusted proxy."; break; @@ -411,4 +414,11 @@ public static String getErrorMessage(int errorCode) { * MESSAGE: The grace period for server license is over. */ public static final int LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER = 76; + + /* + * CODE: LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY + * + * MESSAGE: Requested offline lease duration exceeds server license expiry date. + */ + public static final int LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY = 77; } \ No newline at end of file