Skip to content

Commit

Permalink
Use throw with throwAsUncheckedException(..)
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Michael <[email protected]>
  • Loading branch information
bjmi committed Dec 30, 2023
1 parent 8b699f7 commit f41304a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private void registerCloseables(Store contextStore, Class<?> testClass, Object t
contextStore.put(field, asCloseableResource(testInstance, field));
}
catch (Throwable t) {
ExceptionUtils.throwAsUncheckedException(t);
throw ExceptionUtils.throwAsUncheckedException(t);
}
});
}
Expand Down

0 comments on commit f41304a

Please sign in to comment.