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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List getLastErrorSet()
      Allows the caller to obtain a list of ABAP errors that might have occured during the execution of any supported Connector method.
      java.util.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

        java.util.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

        java.util.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.