4624
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
1522
|
3 |
"
|
|
4 |
COPYRIGHT (c) 2004 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 |
"
|
1472
|
14 |
"{ Package: 'stx:libbasic2' }"
|
1471
|
15 |
|
4624
|
16 |
"{ NameSpace: Smalltalk }"
|
|
17 |
|
1471
|
18 |
NameLookupError subclass:#HostNameLookupError
|
|
19 |
instanceVariableNames:''
|
|
20 |
classVariableNames:''
|
|
21 |
poolDictionaries:''
|
|
22 |
category:'Kernel-Exceptions-Errors'
|
|
23 |
!
|
|
24 |
|
1522
|
25 |
!HostNameLookupError class methodsFor:'documentation'!
|
|
26 |
|
|
27 |
copyright
|
|
28 |
"
|
|
29 |
COPYRIGHT (c) 2004 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 |
! !
|
1471
|
40 |
|
|
41 |
!HostNameLookupError class methodsFor:'initialization'!
|
|
42 |
|
|
43 |
initialize
|
|
44 |
|
|
45 |
NotifierString := 'Cannot resolve host name'
|
|
46 |
! !
|
|
47 |
|
3073
|
48 |
!HostNameLookupError methodsFor:'accessing'!
|
|
49 |
|
4624
|
50 |
hostName
|
|
51 |
^ self nameToLookup
|
|
52 |
!
|
|
53 |
|
3073
|
54 |
nameToLookup
|
|
55 |
request notNil ifTrue:[
|
|
56 |
^ request canonicalName.
|
|
57 |
].
|
|
58 |
^ nil.
|
|
59 |
! !
|
|
60 |
|
1471
|
61 |
!HostNameLookupError class methodsFor:'documentation'!
|
|
62 |
|
|
63 |
version
|
4624
|
64 |
^ '$Header$'
|
1471
|
65 |
! !
|
|
66 |
|
3073
|
67 |
|
1471
|
68 |
HostNameLookupError initialize!
|