SQLite supports it natively https://www.jvt.me/posts/2021/11/08/sqlite-csv/ βΊ
Replies from 15 December 2021
Back to /kind/replies/, 2021, December 2021.
It looks like you're looking for catchThrowableOfType, which allows you to receive the correct class:
import static org.assertj.core.api.Assertions.catchThrowableOfType;
SomeException throwable = catchThrowableOfType(() -> service.doSomething(), SomeException.class);
assertThat(throwable.getSomething()).isNotNull();
← 14 December 2021 17 December 2021 →