Package org.openstreetmap.josm.data
Interface Preferences.ThrowingConsumer<T,E extends Throwable>
- Type Parameters:
T- The object type to acceptE- The throwable type
- Enclosing class:
- Preferences
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A consumer that can throw an exception
-
Method Summary
-
Method Details
-
accept
Accept an object- Parameters:
object- The object to accept- Throws:
E- The exception that can be thrown
-