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.
ParametersDescription
codeint: The error code.
messageString: The message associated with the error code.

For more information on error codes, see the Error Codes section below.

Method Summary

TypeMethodDescription
intgetCode()Returns error code.
StringgetMessage()Returns error message.

Method Details

MethodSignatureDescription
getCodepublic int getCode()Returns error code.
getMessagepublic String getMessage()Returns error message.

Error Codes

The table below lists license error codes and messages.

KeyCodeMessage
INVALID_ACCOUNT700001Account is mandatory
ACCOUNTS_NOT_FOUND700002Accounts not found