Package org.eclipse.net4j.util
Interface ConsumerWithException<T,E extends java.lang.Exception>
- 
- 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 interface ConsumerWithException<T,E extends java.lang.Exception>An interface with anaccept(Object)method that can propagate checked exceptions.- Since:
- 3.12
- Author:
- Eike Stepper
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(T t)static <T,E extends java.lang.Exception>
 java.util.function.Consumer<T>consumer(ConsumerWithException<T,E> consumerWithException)static <T,E extends java.lang.Exception>
 java.util.function.Consumer<T>consumer(ConsumerWithException<T,E> consumerWithException, java.lang.Class<E> exceptionClass, java.util.function.Consumer<E> exceptionHandler)
 
- 
- 
- 
Method Detail- 
consumerstatic <T,E extends java.lang.Exception> java.util.function.Consumer<T> consumer(ConsumerWithException<T,E> consumerWithException, java.lang.Class<E> exceptionClass, java.util.function.Consumer<E> exceptionHandler) 
 - 
consumerstatic <T,E extends java.lang.Exception> java.util.function.Consumer<T> consumer(ConsumerWithException<T,E> consumerWithException) 
 
- 
 
-