MCPcopy Create free account
hub / github.com/M66B/FairEmail / reThrow

Method reThrow

app/src/main/java/androidx/room/SneakyThrow.java:35–37  ·  view source on GitHub ↗

Re-throws a checked exception as if it was a runtime exception without wrapping it. @param e the exception to re-throw.

(@NonNull Exception e)

Source from the content-addressed store, hash-verified

33 * @param e the exception to re-throw.
34 */
35 public static void reThrow(@NonNull Exception e) {
36 sneakyThrow(e);
37 }
38
39 @SuppressWarnings("unchecked")
40 private static <E extends Throwable> void sneakyThrow(@NonNull Throwable e) throws E {

Callers 3

closeMethod · 0.95
runInTransactionMethod · 0.95
runMethod · 0.95

Calls 1

sneakyThrowMethod · 0.95

Tested by

no test coverage detected