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

Method rethrow

output/java_guava/1.4.16/Closer.java:153–158  ·  view source on GitHub ↗

Stores the given throwable and rethrows it. It will be rethrown as is if it is an IOException, RuntimeException or Error. Otherwise, it will be rethrown wrapped in a RuntimeException. Note: Be sure to declare all of the checked exception types your try block ca

(Throwable e)

Source from the content-addressed store, hash-verified

151
152
153 public RuntimeException rethrow(Throwable e) throws IOException {
154 checkNotNull(e);
155 thrown = e;
156 Throwables.propagateIfPossible(e, IOException.class);
157 throw new RuntimeException(e);
158 }
159
160 /**
161 * Stores the given throwable and rethrows it. It will be rethrown as is if it is an

Callers 15

writeMethod · 0.95
writeFromMethod · 0.95
isEmptyMethod · 0.95
sizeMethod · 0.95
copyToMethod · 0.95
readMethod · 0.95
contentEqualsMethod · 0.95
sliceStreamMethod · 0.95
readMethod · 0.95
mapMethod · 0.95
writeMethod · 0.95
writeLinesMethod · 0.95

Calls 2

propagateIfPossibleMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected