getInfo Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Interface Information

This API belongs to:

> SentinelLsPmgmtinit.jar

> SentinelLsPmgmtclean.jar

Description

Retrieves information based on the query parameter passed. It provides comprehensive information related to lastErrorInfo.

Syntax

String getInfo (String scope, String query)

Parameters

Parameter Description
scope [in] Reserved for future use. Use NULL as the value for this argument.
query [in] The query type, such as SNTL_PRS_QUERY_ERR_INFO_LATEST.

Follow the query type links below to learn more about the corresponding XML query, scope, and output.

Query Types Versions* Description
lastErrorInfo Supported in On-premises mode Supported in Lease mode Supported in Connected (Cloud LM) mode 1.0 The information about the error code(s) of the last performed operation.

Returns

Requested information in XML format.

Exception Handling

If unsuccessful, throws LsPmgmtException or UnsupportedEncodingException.

For the complete list of error and result codes, refer to Persistence Library Error Codes