Account
public class Account extends Object
↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager
Utility class to manage Account errors.
Constructor
public Account(int code, String message)
- Creates an object of the Account class.
Parameters | |
---|---|
code | int: The error code. Refer error codes table below. |
message | String: The message associated with the error code. Refer error codes table below. |
Method Summary
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 license error codes and messages.
Key | Code | Message |
---|---|---|
INVALID_ACCOUNT | 700001 | Account is mandatory |