1 | static String getStackTrace(Throwable throwable) { |
2 | lastException(throwable); |
3 | ret getStackTrace_noRecord(throwable); |
4 | } |
5 | |
6 | static String getStackTrace_noRecord(Throwable throwable) { |
7 | StringWriter writer = new StringWriter(); |
8 | throwable.printStackTrace(new PrintWriter(writer)); |
9 | return hideCredentials(writer.toString()); |
10 | } |
11 | |
12 | sS getStackTrace() { |
13 | ret getStackTrace_noRecord(new Throwable); |
14 | } |
15 | |
16 | sS getStackTrace(S msg) { |
17 | ret getStackTrace_noRecord(new Throwable(msg)); |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 22 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, mqsvbyillbrs, nazvggbglmsf, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vdyxwxlmubrt, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1000889 |
Snippet name: | getStackTrace |
Eternal ID of this version: | #1000889/6 |
Text MD5: | 674a7012490ab45540baa2c3cbbd1956 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-04 07:40:39 |
Source code size: | 492 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 781 / 6454 |
Version history: | 5 change(s) |
Referenced in: | [show references] |