1 | static void fail() {
|
2 | throw new RuntimeException("fail");
|
3 | } |
4 | |
5 | static void fail(String msg) {
|
6 | throw new RuntimeException(msg); |
7 | } |
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #2000513 |
| Snippet name: | fail functions |
| Eternal ID of this version: | #2000513/1 |
| Text MD5: | 881e97336a5c1717984297fffe931e03 |
| Author: | stefan |
| Category: | javax |
| Type: | New Tinybrain snippet |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-10 13:57:27 |
| Source code size: | 149 bytes / 7 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 811 / 265 |
| Referenced in: | [show references] |