author | Jan Vrany <jan.vrany@labware.com> |
Wed, 22 Mar 2023 13:57:18 +0000 | |
branch | jv |
changeset 25445 | 1623217d2268 |
parent 25443 | 83fff503958e |
permissions | -rw-r--r-- |
9213 | 1 |
" |
2 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libbasic' }" |
|
13 |
||
20443 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
16 |
ExecutionError subclass:#UnimplementedFunctionalityError |
|
25443
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
17 |
instanceVariableNames:'lineNumber' |
9213 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
20 |
category:'Kernel-Exceptions-Errors' |
|
21 |
! |
|
22 |
||
23 |
!UnimplementedFunctionalityError class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
Raised when some functionality is requested that has not been implemented |
|
42 |
(e.g. when a method is invoked that has been marked as #shouldImplement). |
|
43 |
" |
|
44 |
! ! |
|
45 |
||
25443
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
46 |
!UnimplementedFunctionalityError class methodsFor:'accessing'! |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
47 |
|
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
48 |
defaultNotifierString |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
49 |
^ 'Functionality has to be implemented' |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
50 |
|
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
51 |
"Modified: / 01-12-2017 / 12:49:22 / stefan" |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
52 |
! ! |
9213 | 53 |
|
25443
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
54 |
!UnimplementedFunctionalityError methodsFor:'accessing'! |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
55 |
|
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
56 |
lineNumber |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
57 |
^ lineNumber |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
58 |
! |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
59 |
|
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
60 |
lineNumber:something |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
61 |
lineNumber := something. |
9213 | 62 |
! ! |
63 |
||
64 |
!UnimplementedFunctionalityError methodsFor:'printing'! |
|
65 |
||
66 |
description |
|
67 |
|desc| |
|
68 |
||
69 |
desc := super description, ': ', originator printString. |
|
70 |
parameter notNil ifTrue:[ |
|
25443
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
71 |
desc := desc, '>>', parameter selector printString. |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
72 |
lineNumber notNil ifTrue:[ |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
73 |
desc := desc,':', lineNumber printString. |
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
74 |
]. |
9213 | 75 |
]. |
76 |
^ desc |
|
77 |
! ! |
|
78 |
||
79 |
!UnimplementedFunctionalityError class methodsFor:'documentation'! |
|
80 |
||
25443
83fff503958e
Cherry-picked UnimplementedFunctionalityError.st from 0b286fd51da7:
Jan Vrany <jan.vrany@labware.com>
parents:
20578
diff
changeset
|
81 |
version_CVS |
20443 | 82 |
^ '$Header$' |
9213 | 83 |
! ! |
84 |