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)
| 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 |
no test coverage detected