Interface CosmosEmulatorInstance.FailureFactory

All Known Implementing Classes:
AbstractCosmosDbJunit, CosmosDbExtension, CosmosDbRule
Enclosing class:
CosmosEmulatorInstance
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 CosmosEmulatorInstance.FailureFactory
Provides means to construct the failure.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String message, Throwable cause)
    Constructs the failure.
  • Method Details

    • create

      Throwable create(String message, Throwable cause)
      Constructs the failure.
      Parameters:
      message - Message for the failure.
      cause - Possible cause. May be null.
      Returns:
      Constructed failure.