We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0bbd6 commit 56b772bCopy full SHA for 56b772b
src/main/java/com/nordstrom/common/base/UncheckedThrow.java
@@ -36,7 +36,7 @@ public static RuntimeException throwUnchecked(final Throwable thrown) {
36
* @throws T dummy declaration to satisfy the compiler
37
*/
38
@SuppressWarnings("unchecked")
39
- private static <T extends Exception> void propagate(Throwable thrown) throws T {
+ private static <T extends Throwable> void propagate(Throwable thrown) throws T {
40
// Due to generic type erasure, this cast only serves to satisfy the compiler
41
// that the requirement to declare the thrown exception has been met.
42
throw (T) thrown;
0 commit comments