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

12
LINES

< > BotCompany Repo | #1004575 // silentException + lastSilentException

JavaX fragment (include)

static volatile int silentException_count;
static volatile Throwable silentException_lastException;

static Throwable silentException(Throwable e) {
  ++silentException_count; // yeah it's not atomic :)
  lastException(e);
  ret silentException_lastException = e;
}

static Throwable lastSilentException() {
  ret silentException_lastException;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004575
Snippet name: silentException + lastSilentException
Eternal ID of this version: #1004575/3
Text MD5: 52f8c451dcb7ccbdc9332dfcedbf099b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-15 19:18:58
Source code size: 357 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 597 / 601
Version history: 2 change(s)
Referenced in: [show references]