Interface SessionState.ExportErrorHandler

Enclosing class:
SessionState
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SessionState.ExportErrorHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(ExportNotification.State resultState, String errorContext, Exception cause, String dependentExportId)
    Notify the handler that the final state of this export failed.
  • Method Details

    • onError

      void onError(ExportNotification.State resultState, String errorContext, @Nullable Exception cause, @Nullable String dependentExportId)
      Notify the handler that the final state of this export failed.
      Parameters:
      resultState - the final state of the export
      errorContext - an identifier to locate the details as to why the export failed
      dependentExportId - an identifier for the export id of the dependent that caused the failure if applicable