author | Claus Gittinger <cg@exept.de> |
Mon, 04 Feb 2002 15:31:14 +0100 | |
changeset 6376 | 6a3ce5694cc9 |
parent 6210 | d7039e2ae776 |
child 6667 | cd760a230e58 |
permissions | -rw-r--r-- |
5976 | 1 |
"{ Package: 'stx:libbasic' }" |
2 |
||
3 |
Error subclass:#MessageNotUnderstood |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
7 |
category:'Kernel-Exceptions-Errors' |
5976 | 8 |
! |
9 |
||
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
10 |
!MessageNotUnderstood class methodsFor:'documentation'! |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
11 |
|
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
12 |
documentation |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
13 |
" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
14 |
raised when a message is sent to an object, which is not understood |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
15 |
by the receiver, and the message was not handled by a class specific |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
16 |
doesNotUnderstand: handler. |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
17 |
" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
18 |
! ! |
5976 | 19 |
|
20 |
!MessageNotUnderstood class methodsFor:'queries'! |
|
21 |
||
22 |
mayProceed |
|
23 |
"Return true, because messageNotUnderstood is proceedable (with nil)." |
|
24 |
||
25 |
^ true |
|
26 |
! ! |
|
27 |
||
5982 | 28 |
!MessageNotUnderstood methodsFor:'accessing'! |
29 |
||
30 |
message |
|
31 |
^ parameter |
|
32 |
||
33 |
" |
|
34 |
[ |
|
35 |
123 perform:#foo |
|
36 |
] on:MessageNotUnderstood do:[:ex | |
|
37 |
Transcript show:'message object: '; showCR:ex message storeString. |
|
38 |
Transcript show:'receiver: '; showCR:ex receiver storeString. |
|
39 |
Transcript show:'selector: '; showCR:ex message selector storeString. |
|
40 |
Transcript show:'arguments: '; showCR:ex message arguments storeString. |
|
41 |
] |
|
42 |
" |
|
43 |
! |
|
44 |
||
45 |
receiver |
|
46 |
^ originator |
|
47 |
||
48 |
" |
|
49 |
[ |
|
50 |
123 perform:#foo |
|
51 |
] on:MessageNotUnderstood do:[:ex | |
|
52 |
Transcript showCR:ex receiver |
|
53 |
] |
|
54 |
" |
|
55 |
! ! |
|
56 |
||
5976 | 57 |
!MessageNotUnderstood class methodsFor:'documentation'! |
58 |
||
59 |
version |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5982
diff
changeset
|
60 |
^ '$Header: /cvs/stx/stx/libbasic/MessageNotUnderstood.st,v 1.3 2001-11-17 10:04:22 cg Exp $' |
5976 | 61 |
! ! |