Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Exceptions/Smalltalk/exceptions-1.st
Normal file
5
Task/Exceptions/Smalltalk/exceptions-1.st
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"exec" "gst" "-f" "$0" "$0" "$*"
|
||||
"exit"
|
||||
|
||||
Transcript show: 'Throwing yawp'; cr.
|
||||
self error: 'Yawp!'.
|
||||
7
Task/Exceptions/Smalltalk/exceptions-2.st
Normal file
7
Task/Exceptions/Smalltalk/exceptions-2.st
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
$ ./yawp.st
|
||||
Throwing yawp
|
||||
Object: nil error: Yawp!
|
||||
Error(Exception)>>signal (AnsiExcept.st:216)
|
||||
Error(Exception)>>signal: (AnsiExcept.st:226)
|
||||
UndefinedObject(Object)>>error: (AnsiExcept.st:1565)
|
||||
UndefinedObject>>executeStatements (yawp.st:5)
|
||||
9
Task/Exceptions/Smalltalk/exceptions-3.st
Normal file
9
Task/Exceptions/Smalltalk/exceptions-3.st
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"exec" "gst" "-f" "$0" "$0" "$*"
|
||||
"exit"
|
||||
|
||||
[
|
||||
Transcript show: 'Throwing yawp'; cr.
|
||||
self error: 'Yawp!'.
|
||||
] on: Error do: [ :e |
|
||||
Transcript show: 'Caught yawp'; cr.
|
||||
].
|
||||
3
Task/Exceptions/Smalltalk/exceptions-4.st
Normal file
3
Task/Exceptions/Smalltalk/exceptions-4.st
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$ ./yawp.st
|
||||
Throwing yawp
|
||||
Caught yawp
|
||||
Loading…
Add table
Add a link
Reference in a new issue