Skip to main content

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
codeint: The error code. Refer error codes table below.
messageString: The message associated with the error code. Refer error codes table below.

Method Summary

intgetCode()Returns error code.
StringgetMessage()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.

KeyCodeMessage
INVALID_ACCOUNT700001Account is mandatory