Interface Workspace.ThrowingWorkspaceConsumer<T extends Throwable>

Type Parameters:
T - the exception type that can be thrown, or RuntimeException if no checked exception is thrown.
Enclosing interface:
Workspace

public static interface Workspace.ThrowingWorkspaceConsumer<T extends Throwable>
A consumer functional interface that consumes a workspace and can throw a checked exception.
Since:
3.2.0
Author:
Ashley Scopes
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Workspace workspace)
    Consume a workspace.
  • Method Details

    • accept

      void accept(Workspace workspace) throws T
      Consume a workspace.
      Parameters:
      workspace - the workspace.
      Throws:
      T - the checked exception that can be thrown.