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

8
LINES

< > BotCompany Repo | #1011090 // unstructureOrNull - return null on error

JavaX fragment (include)

static O unstructureOrNull(S s) {
  try {
    ret unstructure(s);
  } catch e {
    silentException(e);
    null;
  }
}

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: #1011090
Snippet name: unstructureOrNull - return null on error
Eternal ID of this version: #1011090/4
Text MD5: 20dc60ba6c0d4d9be335bfb40e9617ad
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-12 03:24:36
Source code size: 126 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 379
Version history: 3 change(s)
Referenced in: [show references]