Interface IWebProcessingContext

    • Method Detail

      • hasError

        boolean hasError()
        Returns:
        true if the processing context contains an error, or false otherwise..
      • getError

        Throwable getError()
        Get the context error.
        Returns:
        If hasError() is true this method returns an exception that's related to the cause of the error.
      • setError

        void setError​(Throwable p_error)
        Set the context error.
        Parameters:
        p_error - The context error.
      • hasErrorResponseData

        boolean hasErrorResponseData()
        Returns:
        true if the processing context contains error response data, or false otherwise.
      • setErrorResponseData

        void setErrorResponseData​(ErrorResponseData p_errorResponseData)
        Set the context error response data.
        Parameters:
        p_errorResponseData - The context error response data.
      • hasErrorHandlerId

        boolean hasErrorHandlerId()
        Get the identifier of a suitable error handler.
        Returns:
        The identifier of an error handler, or null.
      • getErrorHandlerId

        String getErrorHandlerId()
        Get the identifier of a suitable error handler.
        Returns:
        The identifier of an error handler, or null.
      • setErrorHandlerId

        void setErrorHandlerId​(String p_strErrorHandlerId)
        Set the identifier of a suitable error handler.
        Parameters:
        p_strErrorHandlerId - The identifier of an error handler.