author | Claus Gittinger <cg@exept.de> |
Tue, 25 Jun 2019 14:28:51 +0200 | |
changeset 5050 | 44fa8672d102 |
parent 3446 | f94c4418e035 |
permissions | -rw-r--r-- |
1521 | 1 |
" |
2 |
COPYRIGHT (c) 2004 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 |
" |
|
1163 | 12 |
"{ Package: 'stx:libbasic2' }" |
13 |
||
1469
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
14 |
ProceedableError subclass:#NameLookupError |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
15 |
instanceVariableNames:'request' |
1163 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'OS-Sockets' |
|
19 |
! |
|
20 |
||
1521 | 21 |
!NameLookupError class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! ! |
|
1163 | 36 |
|
37 |
!NameLookupError class methodsFor:'initialization'! |
|
38 |
||
39 |
initialize |
|
40 |
||
41 |
NotifierString := 'Cannot resolve name' |
|
42 |
! ! |
|
43 |
||
1469
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
44 |
!NameLookupError methodsFor:'accessing'! |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
45 |
|
2447 | 46 |
nameToLookup |
3074 | 47 |
"subclasses redefine this" |
2447 | 48 |
|
3074 | 49 |
^ ''. |
2447 | 50 |
! |
51 |
||
1469
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
52 |
request |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
53 |
^ request |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
54 |
! |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
55 |
|
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
56 |
request:something |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
57 |
request := something. |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
58 |
! ! |
252e0f1e51e2
Now subclass of ProceedableError.
Stefan Vogel <sv@exept.de>
parents:
1163
diff
changeset
|
59 |
|
2447 | 60 |
!NameLookupError methodsFor:'printing'! |
61 |
||
62 |
description |
|
63 |
|description nameToLookup| |
|
64 |
||
65 |
description := super description. |
|
66 |
nameToLookup := self nameToLookup. |
|
67 |
nameToLookup notEmptyOrNil ifTrue:[ |
|
3446 | 68 |
description := description, ': "', nameToLookup printString, '"'. |
2447 | 69 |
]. |
70 |
^ description |
|
71 |
! ! |
|
72 |
||
1163 | 73 |
!NameLookupError class methodsFor:'documentation'! |
74 |
||
75 |
version |
|
3446 | 76 |
^ '$Header: /cvs/stx/stx/libbasic2/NameLookupError.st,v 1.7 2014-11-24 18:12:02 cg Exp $' |
2447 | 77 |
! |
78 |
||
79 |
version_CVS |
|
3446 | 80 |
^ '$Header: /cvs/stx/stx/libbasic2/NameLookupError.st,v 1.7 2014-11-24 18:12:02 cg Exp $' |
1163 | 81 |
! ! |
82 |
||
3074 | 83 |
|
1163 | 84 |
NameLookupError initialize! |