author | Stefan Vogel <sv@exept.de> |
Wed, 09 Sep 2015 11:21:58 +0200 | |
changeset 18745 | 89ae65c02a3e |
parent 18729 | f101761e2868 |
child 18730 | 592c4cb8e98e |
child 20444 | 1a943ef58dd5 |
permissions | -rw-r--r-- |
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
1 |
"{ Encoding: utf8 }" |
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
2 |
|
7586 | 3 |
" |
4 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
5978 | 14 |
"{ Package: 'stx:libbasic' }" |
15 |
||
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
16 |
"{ NameSpace: Smalltalk }" |
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
17 |
|
7333 | 18 |
ProceedableError subclass:#SubclassResponsibilityError |
5978 | 19 |
instanceVariableNames:'' |
20 |
classVariableNames:'' |
|
21 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
22 |
category:'Kernel-Exceptions-Errors' |
5978 | 23 |
! |
24 |
||
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
25 |
!SubclassResponsibilityError class methodsFor:'documentation'! |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
26 |
|
7586 | 27 |
copyright |
28 |
" |
|
29 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
30 |
All Rights Reserved |
|
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! |
|
40 |
||
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
41 |
documentation |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
42 |
" |
7232 | 43 |
Raised when a method which should have been reimplemented by a |
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
44 |
concrete subclass was not, and the method of the abstract class was |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
45 |
invoked instead. |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
46 |
" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5979
diff
changeset
|
47 |
! ! |
5978 | 48 |
|
7333 | 49 |
!SubclassResponsibilityError class methodsFor:'initialization'! |
5979 | 50 |
|
7333 | 51 |
initialize |
5979 | 52 |
|
7333 | 53 |
NotifierString := 'method must be reimplemented in subclass' |
5979 | 54 |
! ! |
55 |
||
10878
b1df79d1057d
show the affected method-selector in the subclassResponsibility
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
56 |
!SubclassResponsibilityError methodsFor:'queries'! |
b1df79d1057d
show the affected method-selector in the subclassResponsibility
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
57 |
|
b1df79d1057d
show the affected method-selector in the subclassResponsibility
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
58 |
description |
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
59 |
|dscr| |
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
60 |
|
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
61 |
dscr := super description. |
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
62 |
|
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
63 |
parameter isNil ifTrue:[^ dscr]. |
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
64 |
^ '"',parameter , '" ', dscr |
13172 | 65 |
|
66 |
"Modified: / 19-12-2010 / 08:50:13 / cg" |
|
10878
b1df79d1057d
show the affected method-selector in the subclassResponsibility
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
67 |
! ! |
b1df79d1057d
show the affected method-selector in the subclassResponsibility
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
68 |
|
5978 | 69 |
!SubclassResponsibilityError class methodsFor:'documentation'! |
70 |
||
71 |
version |
|
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
72 |
^ '$Header$' |
13172 | 73 |
! |
74 |
||
75 |
version_CVS |
|
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
76 |
^ '$Header$' |
5978 | 77 |
! ! |
7333 | 78 |
|
18729
f101761e2868
class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents:
13172
diff
changeset
|
79 |
|
7333 | 80 |
SubclassResponsibilityError initialize! |