HostAddressLookupError.st
author Claus Gittinger <cg@exept.de>
Sat, 02 May 2020 21:40:13 +0200
changeset 5476 7355a4b11cb6
parent 3075 40f82b71e4a6
permissions -rw-r--r--
#FEATURE by cg class: Socket class added: #newTCPclientToHost:port:domain:domainOrder:withTimeout: changed: #newTCPclientToHost:port:domain:withTimeout:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1521
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     1
"
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     3
              All Rights Reserved
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     4
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     5
 This software is furnished under a license and may be used
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     6
 only in accordance with the terms of that license and with the
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     8
 be provided or otherwise made available to, or used by, any
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
     9
 other person.  No title to or ownership of the software is
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    10
 hereby transferred.
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    11
"
1472
133213bfc075 *** empty log message ***
Stefan Vogel <sv@exept.de>
parents: 1471
diff changeset
    12
"{ Package: 'stx:libbasic2' }"
1471
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
NameLookupError subclass:#HostAddressLookupError
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	category:'Kernel-Exceptions-Errors'
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
1521
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    21
!HostAddressLookupError class methodsFor:'documentation'!
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    22
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    23
copyright
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    24
"
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    25
 COPYRIGHT (c) 2004 by eXept Software AG
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    26
              All Rights Reserved
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    27
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    28
 This software is furnished under a license and may be used
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    29
 only in accordance with the terms of that license and with the
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    31
 be provided or otherwise made available to, or used by, any
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    32
 other person.  No title to or ownership of the software is
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    33
 hereby transferred.
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    34
"
4daa5084e31e copyright
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
    35
! !
1471
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
!HostAddressLookupError class methodsFor:'initialization'!
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
initialize
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
    NotifierString := 'Cannot resolve host address'
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
! !
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
3075
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    44
!HostAddressLookupError methodsFor:'accessing'!
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    45
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    46
nameToLookup
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    47
    request notNil ifTrue:[
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    48
        ^ request arguments first.
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    49
    ].
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    50
    ^ nil.
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    51
! !
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    52
1471
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
!HostAddressLookupError class methodsFor:'documentation'!
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
version
3075
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    56
    ^ '$Header: /cvs/stx/stx/libbasic2/HostAddressLookupError.st,v 1.4 2013-08-09 14:22:29 cg Exp $'
1471
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
! !
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
3075
40f82b71e4a6 Fix HostAddressLookupError
Claus Gittinger <cg@exept.de>
parents: 1521
diff changeset
    59
1471
124fe8636686 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
HostAddressLookupError initialize!