Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1011126 // lastException - last exception thrown anywhere

JavaX fragment (include)

1  
// PersistableThrowable doesn't hold GC-disturbing class references in backtrace
2  
static volatile PersistableThrowable lastException_lastException;
3  
4  
static PersistableThrowable lastException() {
5  
  ret lastException_lastException;
6  
}
7  
8  
static void lastException(Throwable e) {
9  
  lastException_lastException = persistableThrowable(e);
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1011126
Snippet name: lastException - last exception thrown anywhere
Eternal ID of this version: #1011126/4
Text MD5: 5b9e5a451998caf4fdcf02194accf83b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 20:54:21
Source code size: 340 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 717
Version history: 3 change(s)
Referenced in: [show references]