com.ibm.di.connector.sapr3.bor
Interface AbapErrorCache

All Known Implementing Classes:
SapR3BorConnector

public interface AbapErrorCache

Represents a cache for ABAP RFC return results. It it used by the Connector to cache AbapErrorInfo instances recorded during the execution of any of the connector methods. The cache will be registered as a scripting bean with TDI scripting engine. It will allow connector hooks to access the ABAP errors that might have occured during connector processing. The hook code can then execute required behaviour.


Method Summary
 List getLastErrorSet()
          Allows the caller to obtain a list of ABAP errors that might have occured during the execution of any supported Connector method.
 List getLastWarningSet()
          Allows the caller to obtain a list of ABAP warnings that might have occured during the execution of any supported Connector method.
 

Method Detail

getLastWarningSet

List getLastWarningSet()
Allows the caller to obtain a list of ABAP warnings that might have occured during the execution of any supported Connector method.

Returns:
a list of AbapErrorInfo objects at warning severity. Minimum length will be zero.

getLastErrorSet

List getLastErrorSet()
Allows the caller to obtain a list of ABAP errors that might have occured during the execution of any supported Connector method.

Returns:
a list AbapErrorInfo objects at error severity. Minimum length will be zero.