MessageNotUnderstood.st
author Claus Gittinger <cg@exept.de>
Fri, 09 May 2014 15:06:50 +0200
changeset 16414 718569261384
parent 15188 e1937381139c
child 18120 e3a375d5f6a8
child 18290 5ea0b888d79d
permissions -rw-r--r--
class: MessageNotUnderstood changed: #description
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     1
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     2
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     3
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     4
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     5
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     6
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     8
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
     9
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    10
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    11
"
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
    14
ProceedableError subclass:#MessageNotUnderstood
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    18
	category:'Kernel-Exceptions-Errors'
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    21
!MessageNotUnderstood class methodsFor:'documentation'!
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    22
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    23
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    24
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    25
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    26
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    27
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    28
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    29
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    31
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    32
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    33
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    34
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    35
!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6669
diff changeset
    36
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    37
documentation
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    38
"
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    39
    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
    40
    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
    41
    doesNotUnderstand: handler.
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    42
"
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5982
diff changeset
    43
! !
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
15188
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    45
!MessageNotUnderstood class methodsFor:'initialization'!
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    46
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    47
initialize
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    48
    NotifierString := 'message not understood'.
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    49
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    50
    "
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    51
     self initialize
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    52
    "
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    53
! !
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
    54
6667
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    55
!MessageNotUnderstood class methodsFor:'save evaluation'!
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    56
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    57
ignoreNotUnderstoodOf:aSelector in:aBlock
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    58
    "evaluate aBlock; if a messageNotUnderstood occurs,
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    59
     for which the message was aSelector, ignore the error
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    60
     and return.
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    61
     Other selector errors lead into the debugger.
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    62
     If no error occurs, return the blocks value"
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    63
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    64
    ^ self handle:[:ex |
6669
992abad6f5aa *** empty log message ***
ca
parents: 6668
diff changeset
    65
        ex selector == aSelector ifFalse:[
6667
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    66
            ex reject
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    67
        ]
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    68
    ] do:aBlock.
6668
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    69
!
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    70
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    71
ignoreNotUnderstoodOfAny:aCollectionOfSelectors in:aBlock
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    72
    "evaluate aBlock; if a messageNotUnderstood occurs,
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    73
     for which the message was any in aCollectionOfSelectors, ignore the error
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    74
     and return.
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    75
     Other selector errors lead into the debugger.
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    76
     If no error occurs, return the blocks value"
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    77
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    78
    ^ self handle:[:ex |
6669
992abad6f5aa *** empty log message ***
ca
parents: 6668
diff changeset
    79
        (aCollectionOfSelectors includesIdentical:ex selector) ifFalse:[
6668
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    80
            ex reject
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    81
        ]
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
    82
    ] do:aBlock.
6667
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    83
! !
cd760a230e58 *** empty log message ***
ca
parents: 6210
diff changeset
    84
5982
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    85
!MessageNotUnderstood methodsFor:'accessing'!
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    86
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    87
message
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    88
    ^ parameter
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    89
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    90
    "
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    91
     [
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    92
        123 perform:#foo
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    93
     ] on:MessageNotUnderstood do:[:ex |
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    94
        Transcript show:'message object: '; showCR:ex message storeString.
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    95
        Transcript show:'receiver: '; showCR:ex receiver storeString.
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    96
        Transcript show:'selector: '; showCR:ex message selector storeString.
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    97
        Transcript show:'arguments: '; showCR:ex message arguments storeString.
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    98
     ]
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
    99
    "
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   100
!
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   101
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   102
receiver
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   103
    ^ originator
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   104
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   105
    "
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   106
     [
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   107
        123 perform:#foo
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   108
     ] on:MessageNotUnderstood do:[:ex |
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   109
        Transcript showCR:ex receiver
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   110
     ]
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   111
    "
6668
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   112
!
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   113
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   114
selector
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   115
    ^ parameter selector
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   116
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   117
    "
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   118
     [
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   119
        123 perform:#foo
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   120
     ] on:MessageNotUnderstood do:[:ex |
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   121
        Transcript show:'selector: '; showCR:ex selector storeString.
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   122
     ]
f2489cb96530 *** empty log message ***
ca
parents: 6667
diff changeset
   123
    "
5982
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   124
! !
2965b58b4258 ANSI accessors
Claus Gittinger <cg@exept.de>
parents: 5976
diff changeset
   125
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   126
!MessageNotUnderstood methodsFor:'printing & storing'!
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   127
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   128
description
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   129
    "the human readable description of the exception"
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   130
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   131
    |cls sel description|
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   132
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   133
    "extract the class that should have implemented the message.
16414
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   134
     (in case of a super-send, this is not the receiver's class)"
8657
1df84e8daa15 care for nil suspendedContext in description
penk
parents: 8501
diff changeset
   135
    suspendedContext notNil ifTrue:[
16414
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   136
        cls := suspendedContext searchClass.
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   137
        suspendedContext sender notNil ifTrue:[
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   138
            cls := suspendedContext sender searchClass.
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   139
        ].
8657
1df84e8daa15 care for nil suspendedContext in description
penk
parents: 8501
diff changeset
   140
    ].
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   141
    cls isNil ifTrue:[
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   142
        cls := self receiver class.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   143
    ].
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   144
    cls notNil ifTrue:[
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   145
        "displayString is better than 'cls name',
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   146
         since it appends (obsolete) for outdated classes.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   147
         (this happens if you send messages to old instances
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   148
          after changing a classes definition)"
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   149
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   150
        description := cls displayString.
10446
21f13f605ff5 changed #description - take care if the classes displayString is not a String
Stefan Vogel <sv@exept.de>
parents: 8657
diff changeset
   151
        description isString ifFalse:[
21f13f605ff5 changed #description - take care if the classes displayString is not a String
Stefan Vogel <sv@exept.de>
parents: 8657
diff changeset
   152
            description := '(** ???-class **)'
21f13f605ff5 changed #description - take care if the classes displayString is not a String
Stefan Vogel <sv@exept.de>
parents: 8657
diff changeset
   153
        ].
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   154
    ] ifFalse:[    
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   155
        description := '(** nil-class **)'
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   156
    ].
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   157
    sel := self selector.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   158
    sel class == Symbol ifTrue:[
13028
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   159
        description := description , ' does not understand: ' , sel storeString.
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   160
        "/ description := sel, ' not understood by ' ,  description.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   161
    ] ifFalse:[
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   162
        "a non-symbol selector may happen when things go mad in a primitive, 
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   163
         or a method has been called by #perform: or #valueWithReceiver: with a wrong arg."
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   164
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   165
        description := description , ' does not understand nonSymbol: ' , sel printString.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   166
        "/ description := sel printString, ' (nonSymbol) not understood by ' ,  description.
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   167
    ].
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   168
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   169
    ^ description
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   170
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   171
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   172
    "
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   173
        2 foo:3
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   174
        2 perform:55
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   175
        nil // 2
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   176
    "
13028
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   177
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   178
    "Modified: / 19-08-2010 / 15:33:03 / cg"
8501
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   179
! !
8e114640aa5c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
   180
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
!MessageNotUnderstood class methodsFor:'documentation'!
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
version
16414
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   184
    ^ '$Header: /cvs/stx/stx/libbasic/MessageNotUnderstood.st,v 1.13 2014-05-09 13:06:50 cg Exp $'
13028
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   185
!
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   186
2fdfcae3cf1d changed: #description
Claus Gittinger <cg@exept.de>
parents: 10446
diff changeset
   187
version_CVS
16414
718569261384 class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 15188
diff changeset
   188
    ^ '$Header: /cvs/stx/stx/libbasic/MessageNotUnderstood.st,v 1.13 2014-05-09 13:06:50 cg Exp $'
5976
4596197c1e0d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
! !
15188
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
   190
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
   191
e1937381139c class: MessageNotUnderstood
Claus Gittinger <cg@exept.de>
parents: 13028
diff changeset
   192
MessageNotUnderstood initialize!