1 | static S firstFileNameFromStackTrace(Throwable e) { |
2 | for (StackTraceElement el : e.getStackTrace()) |
3 | try answer el.getFileName(); |
4 | null; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010506 |
Snippet name: | firstFileNameFromStackTrace |
Eternal ID of this version: | #1010506/2 |
Text MD5: | 5a01144683f1ae4bec0c5668d1babf60 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-19 16:29:07 |
Source code size: | 147 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 410 / 448 |
Version history: | 1 change(s) |
Referenced in: | [show references] |