SCEPAccount
public class SCEPAccount extends Object
↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager
Utility class to manage SCEP Account errors.
Constructor
public SCEPAccount(int code, String message)
- Creates an object of SCEPAccount class.
Parameters | |
---|---|
code | int: The error code. Refer error codes table below. |
message | String: The message associated with error code. Refer error codes table below. |
Method Summary
Type | Name | Description |
---|---|---|
int | getCode() | Returns error code. |
String | getMessage() | Returns error message. |
Method Detail
getCode
public int getCode()
- Returns error code.
getMessage
public String getMessage()
- Returns error message.
Error Codes
The below table lists SCEP Account error codes and messages.
Key | Code | Message |
---|---|---|
INVALID | 400001 | Not a SCEP account account |
NOT_LINKED | 400002 | Account is not linked |