SubclassResponsibilityError.st
author Claus Gittinger <cg@exept.de>
Wed, 30 Sep 2015 19:36:08 +0200
changeset 18778 17e71d0bbeda
parent 18729 f101761e2868
child 18730 592c4cb8e98e
child 20444 1a943ef58dd5
permissions -rw-r--r--
#DOCUMENTATION class: ObjectMemory category of: #preventTenureOf: #setAgeOf:to:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     3
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     4
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     5
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     6
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     7
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     8
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    10
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    11
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    12
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    13
"
5978
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ Package: 'stx:libbasic' }"
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    18
ProceedableError subclass:#SubclassResponsibilityError
5978
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	instanceVariableNames:''
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5979
diff changeset
    22
	category:'Kernel-Exceptions-Errors'
5978
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    27
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    28
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    29
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    30
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    31
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    32
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    33
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    35
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    36
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    37
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    38
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    39
!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7333
diff changeset
    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
1d05a293b8b0 comments
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    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
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
7333
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    49
!SubclassResponsibilityError class methodsFor:'initialization'!
5979
c471707c1787 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5978
diff changeset
    50
7333
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    51
initialize
5979
c471707c1787 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5978
diff changeset
    52
7333
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    53
   NotifierString := 'method must be reimplemented in subclass'
5979
c471707c1787 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5978
diff changeset
    54
! !
c471707c1787 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5978
diff changeset
    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
b3b40febdba1 changed: #description
Claus Gittinger <cg@exept.de>
parents: 10878
diff changeset
    65
b3b40febdba1 changed: #description
Claus Gittinger <cg@exept.de>
parents: 10878
diff changeset
    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
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
!SubclassResponsibilityError class methodsFor:'documentation'!
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
version
18729
f101761e2868 class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents: 13172
diff changeset
    72
    ^ '$Header$'
13172
b3b40febdba1 changed: #description
Claus Gittinger <cg@exept.de>
parents: 10878
diff changeset
    73
!
b3b40febdba1 changed: #description
Claus Gittinger <cg@exept.de>
parents: 10878
diff changeset
    74
b3b40febdba1 changed: #description
Claus Gittinger <cg@exept.de>
parents: 10878
diff changeset
    75
version_CVS
18729
f101761e2868 class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents: 13172
diff changeset
    76
    ^ '$Header$'
5978
a2618e98cb13 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
! !
7333
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    78
18729
f101761e2868 class: SubclassResponsibilityError
Claus Gittinger <cg@exept.de>
parents: 13172
diff changeset
    79
7333
ada175120272 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 7232
diff changeset
    80
SubclassResponsibilityError initialize!