|
|
|
|
@ -99,7 +99,7 @@ abstract class AbstractProxyExceptionHandlingTests {
@@ -99,7 +99,7 @@ abstract class AbstractProxyExceptionHandlingTests {
|
|
|
|
|
assertThat(throwableSeenByInterceptor).isSameAs(undeclaredCheckedException); |
|
|
|
|
assertThat(throwableSeenByCaller) |
|
|
|
|
.isInstanceOf(UndeclaredThrowableException.class) |
|
|
|
|
.hasCauseReference(undeclaredCheckedException); |
|
|
|
|
.cause().isSameAs(undeclaredCheckedException); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@ -147,7 +147,7 @@ abstract class AbstractProxyExceptionHandlingTests {
@@ -147,7 +147,7 @@ abstract class AbstractProxyExceptionHandlingTests {
|
|
|
|
|
invokeProxy(); |
|
|
|
|
assertThat(throwableSeenByCaller) |
|
|
|
|
.isInstanceOf(UndeclaredThrowableException.class) |
|
|
|
|
.hasCauseReference(undeclaredCheckedException); |
|
|
|
|
.cause().isSameAs(undeclaredCheckedException); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|