1 | static S pcallAnswerMethod(S s) { |
2 | try { |
3 | ret callAnswerMethod(s); |
4 | } catch e { |
5 | printStackTrace(e); |
6 | ret "ERROR: " + e; |
7 | } |
8 | } |
9 | |
10 | static S pcallAnswerMethod(O responder, S s) { |
11 | ret pcallAnswerMethod(responder, s, litlist(s)); |
12 | } |
13 | |
14 | static S pcallAnswerMethod(O responder, S s, L<S> history) { |
15 | try { |
16 | ret callAnswerMethod(responder, s, history); |
17 | } catch e { |
18 | printStackTrace(e); |
19 | ret "ERROR: " + e; |
20 | } |
21 | } |
Began life as a copy of #1002618
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: | #1006641 |
Snippet name: | pcallAnswerMethod - return "ERROR: ..." on exception |
Eternal ID of this version: | #1006641/5 |
Text MD5: | 6ba500519a16f29f3d9dcd6ff52dc540 |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-24 00:25:54 |
Source code size: | 444 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 471 / 510 |
Version history: | 4 change(s) |
Referenced in: | [show references] |