Interface Preferences.ThrowingConsumer<T,​E extends java.lang.Throwable>

  • Type Parameters:
    T - The object type to accept
    E - The throwable type
    Enclosing class:
    Preferences

    private static interface Preferences.ThrowingConsumer<T,​E extends java.lang.Throwable>
    A consumer that can throw an exception
    • Method Detail

      • accept

        void accept​(T object)
             throws E extends java.lang.Throwable
        Accept an object
        Parameters:
        object - The object to accept
        Throws:
        E - The exception that can be thrown
        E extends java.lang.Throwable