Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Exceptions/Aikido/exceptions-1.aikido
Normal file
6
Task/Exceptions/Aikido/exceptions-1.aikido
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
try {
|
||||
var lines = readfile ("input.txt")
|
||||
process (lines)
|
||||
} catch (e) {
|
||||
do_somthing(e)
|
||||
}
|
||||
7
Task/Exceptions/Aikido/exceptions-2.aikido
Normal file
7
Task/Exceptions/Aikido/exceptions-2.aikido
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
if (error) {
|
||||
throw "Error"
|
||||
}
|
||||
|
||||
if (something) {
|
||||
throw new MyException (errorcode, a, b)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue