1 | static void nuLike assertInnerExceptionOfTypeVerbose(Class type, Runnable r) { |
2 | var e = assertFail(r); |
3 | if (!containsExceptionOfType(e, type)) |
4 | fail("Exception " + e + " isn't of type " + type); |
5 | print("OK: " + e); |
6 | } |
Began life as a copy of #1035391
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035392 |
Snippet name: | assertInnerExceptionOfTypeVerbose |
Eternal ID of this version: | #1035392/1 |
Text MD5: | 1cfb213112fce984108ef14759094962 |
Author: | stefan |
Category: | javac |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-05 16:46:10 |
Source code size: | 227 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 136 / 156 |
Referenced in: | [show references] |