AmbiguousMessage.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 22 Sep 2015 16:28:42 +0100
branchjv
changeset 18759 c1217211909c
parent 18115 26ac4840e5d0
child 20578 39641ba8d6e0
permissions -rw-r--r--
Changed identification strings to contain jv-branch ...to make explicit that this distribution is not the official one used by eXept and therefore that eXept is not to be blamed in case of any problem.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
     1
"
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     2
 COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
     3
              All Rights Reserved
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
     4
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     5
Permission is hereby granted, free of charge, to any person
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     6
obtaining a copy of this software and associated documentation
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     7
files (the 'Software'), to deal in the Software without
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     8
restriction, including without limitation the rights to use,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
     9
copy, modify, merge, publish, distribute, sublicense, and/or sell
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    10
copies of the Software, and to permit persons to whom the
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    11
Software is furnished to do so, subject to the following
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    12
conditions:
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    13
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    14
The above copyright notice and this permission notice shall be
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    15
included in all copies or substantial portions of the Software.
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    16
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    17
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    18
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    19
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    20
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    21
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    22
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    23
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    24
OTHER DEALINGS IN THE SOFTWARE.
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    25
"
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    26
"{ Package: 'stx:libbasic' }"
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    27
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    28
ProceedableError subclass:#AmbiguousMessage
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    29
	instanceVariableNames:''
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    30
	classVariableNames:''
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    31
	poolDictionaries:''
15888
d30fac9218be class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 14876
diff changeset
    32
	category:'Kernel-Exceptions-ExecutionErrors'
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    33
!
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    34
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    35
!AmbiguousMessage class methodsFor:'documentation'!
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    36
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    37
copyright
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    38
"
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    39
 COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    40
              All Rights Reserved
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    41
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    42
Permission is hereby granted, free of charge, to any person
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    43
obtaining a copy of this software and associated documentation
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    44
files (the 'Software'), to deal in the Software without
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    45
restriction, including without limitation the rights to use,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    46
copy, modify, merge, publish, distribute, sublicense, and/or sell
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    47
copies of the Software, and to permit persons to whom the
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    48
Software is furnished to do so, subject to the following
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    49
conditions:
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    50
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    51
The above copyright notice and this permission notice shall be
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    52
included in all copies or substantial portions of the Software.
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    53
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    54
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    55
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    56
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    57
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    58
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    59
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    60
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    61
OTHER DEALINGS IN THE SOFTWARE.
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    62
"
14876
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    63
!
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    64
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    65
documentation
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    66
"
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    67
    raised by the VM when a message is sent to an object and 
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    68
    is not clear which method to execute.
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    69
    Such situation may occur when a current selector namespace
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    70
    imports two namespaces and both define a method with the
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    71
    requested selector.
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    72
"
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    73
! !
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    74
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    75
!AmbiguousMessage class methodsFor:'documentation'!
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    76
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    77
version_CVS
15888
d30fac9218be class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 14876
diff changeset
    78
    ^ '$Header: /cvs/stx/stx/libbasic/AmbiguousMessage.st,v 1.4 2013-12-24 10:40:54 cg Exp $'
13480
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    79
!
27c57fc46853 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 13403
diff changeset
    80
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    81
version_SVN
15888
d30fac9218be class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 14876
diff changeset
    82
    ^ '$Id: AmbiguousMessage.st,v 1.4 2013-12-24 10:40:54 cg Exp $'
13403
9cdd42752750 added AmbiguousMessage, Annotation, NamespaceAwareLookup
vrany
parents:
diff changeset
    83
! !
14876
4074951f9879 class: AmbiguousMessage
Claus Gittinger <cg@exept.de>
parents: 13480
diff changeset
    84