Skip to main content

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

Method Summary

TypeNameDescription
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 SCEP Account error codes and messages.

KeyCodeMessage
INVALID400001Not a SCEP account account
NOT_LINKED400002Account is not linked