Interface FunctionWithExceptions5<T,R,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable>

Type Parameters:
T - the type of the parameter of the function
R - the type of the result of the function
E1 - the first type of exceptions
E2 - the second type of exceptions
E3 - the third type of exceptions
E4 - the fourth type of exceptions
E5 - the fifth type of exceptions

public interface FunctionWithExceptions5<T,R,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable>
A function that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t)
    Applies the function.
  • Method Details

    • apply

      R apply(T t) throws E1, E2, E3, E4, E5
      Applies the function.
      Parameters:
      t - the argument to the function
      Returns:
      the result of the function
      Throws:
      E1 - a first type of exceptions thrown by the function
      E2 - a second type of exceptions thrown by the function
      E3 - a third type of exceptions thrown by the function
      E4 - a fourth type of exceptions thrown by the function
      E5 - a fifth type of exceptions thrown by the function