com.tinkerpop.frames.util.ExceptionUtils Maven / Gradle / Ivy
Go to download
Windup Frames is an extension of the upstream Frames project, with tools to ease debugging and integration within windup.
package com.tinkerpop.frames.util;
public class ExceptionUtils {
public static void sneakyThrow(final Throwable checkedException) {
ExceptionUtils. thrownInsteadOf(checkedException);
}
@SuppressWarnings("unchecked")
private static void thrownInsteadOf(Throwable t) throws T {
throw (T) t;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy