We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292727c commit eed27e8Copy full SHA for eed27e8
bedrock-testing-support/src/main/java/com/oracle/bedrock/testsupport/deferred/DeferredMatch.java
@@ -153,6 +153,19 @@ else if (matcher.matches(lastUsedMatchValue))
153
{
154
throw e;
155
}
156
+ catch (RuntimeException e)
157
+ {
158
+ if (matcher instanceof ThrowableMatcher)
159
160
+ ThrowableMatcher throwableMatcher = (ThrowableMatcher) matcher;
161
+
162
+ return throwableMatcher.getMatcher().matches(e);
163
+ }
164
+ else
165
166
+ throw e;
167
168
169
catch (Exception e)
170
171
if (matcher instanceof ThrowableMatcher)
0 commit comments