Libraryless. Click here for Pure Java version (2292L/15K).
svoid ignoreExceptionContaining(S text, Runnable r) { try { callF(r); } catch e { if (cic(str(e), text)) { //print("Ignoring exception: " + e); } else throw rethrow(e); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026128 |
Snippet name: | ignoreExceptionContaining |
Eternal ID of this version: | #1026128/2 |
Text MD5: | 0c6e5becd46d080fe5ba8328b6c6ef38 |
Transpilation MD5: | 213f13a777f2bce17e860156db379847 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-01 11:29:47 |
Source code size: | 211 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 203 / 329 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |