All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ebay.datameta.util.jdk.CatchHandler Maven / Gradle / Ivy

The newest version!
package org.ebay.datameta.util.jdk;

/**
 * Generic {@link Throwable} handler - provides flexibility of handling throwables, whether you need to log them
 * or what not.
 * @param  concrete subclass of a {@link Throwable}, allows you specify which exception namely you need to handle.
 * @author Michael Bergens
 */
public interface CatchHandler {
    /**
     * Implement handling the throwable. Like logging it.
     */
    void handle(T t);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy