org.ebay.datameta.util.jdk.CatchHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of util-jdk Show documentation
Show all versions of util-jdk Show documentation
Whatever may be missing in JDKs (and Java JDKs only), add here
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