org.fluentjdbc.util.ExceptionUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-jdbc Show documentation
Show all versions of fluent-jdbc Show documentation
A Java library used to execute JDBC statements and build SQL
package org.fluentjdbc.util;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
public class ExceptionUtil {
public static RuntimeException softenCheckedException(Exception e) {
return softenHelper(e);
}
@SuppressWarnings("unchecked")
private static T softenHelper(Exception e) throws T {
throw (T)e;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy