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

8
LINES

< > BotCompany Repo | #1006321 // getSnippetTitle_safe - exceptionless version of getSnippetTitle

JavaX fragment (include)

static String getSnippetTitle_safe(S id) {
  if (isLocalSnippetID(id)) ret localSnippetTitle(id);
  S title = or(loadTextFile(snippetTitle_cacheFile(id)), "?");
  pcall {
    title = getSnippetTitle(id);
  }
  ret title;
}

Author comment

Began life as a copy of #1001012

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006321
Snippet name: getSnippetTitle_safe - exceptionless version of getSnippetTitle
Eternal ID of this version: #1006321/4
Text MD5: 686ed64c133ce54b49137c3196c6fdbf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-03 21:47:43
Source code size: 229 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 547 / 606
Version history: 3 change(s)
Referenced in: [show references]