getInfo
Interface Information
This API belongs to:
>
>
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 | 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