Skip to content

Commit 0f2166b

Browse files
committed
chore: added server license expiry error code
1 parent b926fca commit 0f2166b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/com/cryptlex/lexfloatclient/LexFloatClientException.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ public static String getErrorMessage(int errorCode) {
128128
case LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER:
129129
message = "The grace period for server license is over.";
130130
break;
131+
case LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY:
132+
message = "Requested offline lease duration exceeds server license expiry date.";
133+
break;
131134
case LF_E_PROXY_NOT_TRUSTED:
132135
message = "Request blocked due to untrusted proxy.";
133136
break;
@@ -410,4 +413,11 @@ public static String getErrorMessage(int errorCode) {
410413
* MESSAGE: The grace period for server license is over.
411414
*/
412415
public static final int LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER = 76;
416+
417+
/*
418+
* CODE: LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY
419+
*
420+
* MESSAGE: Requested offline lease duration exceeds server license expiry date.
421+
*/
422+
public static final int LF_E_LEASE_EXCEEDS_SERVER_LICENSE_EXPIRY = 77;
413423
}

0 commit comments

Comments
 (0)