Module io.jooby
Package io.jooby

Interface SneakyThrows.Consumer8<V1,V2,V3,V4,V5,V6,V7,V8>

Type Parameters:
V1 - Input type.
V2 - Input type.
V3 - Input type.
V4 - Input type.
V5 - Input type.
V6 - Input type.
V7 - Input type.
V8 - Input type.
Enclosing class:
SneakyThrows
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 SneakyThrows.Consumer8<V1,V2,V3,V4,V5,V6,V7,V8>
Seven argument version of SneakyThrows.Consumer.

This class rethrow any exception using the SneakyThrows.propagate(Throwable) technique.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5, V6 v6, V7 v7, V8 v8)
    Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
    void
    tryAccept(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5, V6 v6, V7 v7, V8 v8)
    Performs this operation on the given arguments.
  • Method Details

    • tryAccept

      void tryAccept(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5, V6 v6, V7 v7, V8 v8) throws Exception
      Performs this operation on the given arguments.
      Parameters:
      v1 - Argument.
      v2 - Argument.
      v3 - Argument.
      v4 - Argument.
      v5 - Argument.
      v6 - Argument.
      v7 - Argument.
      v8 - Argument.
      Throws:
      Exception - If something goes wrong.
    • accept

      default void accept(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5, V6 v6, V7 v7, V8 v8)
      Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
      Parameters:
      v1 - Argument.
      v2 - Argument.
      v3 - Argument.
      v4 - Argument.
      v5 - Argument.
      v6 - Argument.
      v7 - Argument.
      v8 - Argument.