Class AbapException

    • Constructor Detail

      • AbapException

        public AbapException​(String functionName,
                             String key,
                             String[] importParams,
                             Throwable cause)
        Parameters:
        functionName - Name of the function module that caused this BAPI exception
        key - Key of the ABAP exception
        importParams - Import parameters of the function module
        cause -
      • AbapException

        public AbapException​(String functionName,
                             String key,
                             String msg)
        Parameters:
        functionName - Name of the function module that caused this BAPI exception
        key - Key of the ABAP exception
        msg - Message text
    • Method Detail

      • getFunctionModuleName

        public String getFunctionModuleName()
        Get the function module name
        Returns:
        name of the function module
      • getKey

        public String getKey()
        Get the key of the ABAP exception
        Returns:
        key
      • getParameters

        public String[] getParameters()
        Get import parameters of the function module
        Returns:
        array with the import parameters of the function module