MCPcopy Index your code
hub / github.com/antlr/codebuff / propagate

Method propagate

output/java_guava/1.4.17/Throwables.java:244–250  ·  view source on GitHub ↗

Propagates throwable as-is if it is an instance of RuntimeException or Error, or else as a last resort, wraps it in a RuntimeException and then propagates. This method always throws an exception. The RuntimeException return type allows client code to si

(Throwable throwable)

Source from the content-addressed store, hash-verified

242 */
243
244 @CanIgnoreReturnValue
245 @GwtIncompatible
246 @Deprecated
247 public static RuntimeException propagate(Throwable throwable) {
248 throwIfUnchecked(throwable);
249 throw new RuntimeException(throwable);
250 }
251
252 /**
253 * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides

Callers 6

isSatisfiedMethod · 0.95
UnsafeAtomicHelperClass · 0.95
flattenHierarchyMethod · 0.95
runMethod · 0.95
platformThreadFactoryMethod · 0.95

Calls 1

throwIfUncheckedMethod · 0.95

Tested by

no test coverage detected