com.tinkerpop.frames.util.ExceptionUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of frames Show documentation
Show all versions of frames Show documentation
Frames is a framework for exposing the elements of a Blueprints graph as Java objects.
Instead of writing software in terms of vertices and edges, with Frames,
software is written in terms of domain objects and their relationships to each other.
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 - 2024 Weber Informatics LLC | Privacy Policy