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

6
LINES

< > BotCompany Repo | #1001217 // findMandatoryBot

JavaX fragment (include)

1  
static DialogIO findMandatoryBot(S searchPattern) {
2  
  DialogIO bot = findBot(searchPattern);
3  
  if (bot == null)
4  
    fail("A bot named " + quote(searchPattern) + " wasn't found, failing.");
5  
  return bot;
6  
}

Author comment

Began life as a copy of #1001203

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: #1001217
Snippet name: findMandatoryBot
Eternal ID of this version: #1001217/1
Text MD5: 5e79d060246198341e6aecab21ce6dbd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-02 17:16:12
Source code size: 209 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 564 / 826
Referenced in: [show references]