5976
|
1 |
"{ Package: 'stx:libbasic' }"
|
|
2 |
|
|
3 |
Error subclass:#MessageNotUnderstood
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'Kernel-Exceptions'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!MessageNotUnderstood class methodsFor:'queries'!
|
|
12 |
|
|
13 |
mayProceed
|
|
14 |
"Return true, because messageNotUnderstood is proceedable (with nil)."
|
|
15 |
|
|
16 |
^ true
|
|
17 |
! !
|
|
18 |
|
5982
|
19 |
!MessageNotUnderstood methodsFor:'accessing'!
|
|
20 |
|
|
21 |
message
|
|
22 |
^ parameter
|
|
23 |
|
|
24 |
"
|
|
25 |
[
|
|
26 |
123 perform:#foo
|
|
27 |
] on:MessageNotUnderstood do:[:ex |
|
|
28 |
Transcript show:'message object: '; showCR:ex message storeString.
|
|
29 |
Transcript show:'receiver: '; showCR:ex receiver storeString.
|
|
30 |
Transcript show:'selector: '; showCR:ex message selector storeString.
|
|
31 |
Transcript show:'arguments: '; showCR:ex message arguments storeString.
|
|
32 |
]
|
|
33 |
"
|
|
34 |
!
|
|
35 |
|
|
36 |
receiver
|
|
37 |
^ originator
|
|
38 |
|
|
39 |
"
|
|
40 |
[
|
|
41 |
123 perform:#foo
|
|
42 |
] on:MessageNotUnderstood do:[:ex |
|
|
43 |
Transcript showCR:ex receiver
|
|
44 |
]
|
|
45 |
"
|
|
46 |
! !
|
|
47 |
|
5976
|
48 |
!MessageNotUnderstood class methodsFor:'documentation'!
|
|
49 |
|
|
50 |
version
|
5982
|
51 |
^ '$Header: /cvs/stx/stx/libbasic/MessageNotUnderstood.st,v 1.2 2001-09-07 11:14:21 cg Exp $'
|
5976
|
52 |
! !
|