HostAddressLookupError.st
changeset 3075 40f82b71e4a6
parent 1521 4daa5084e31e
equal deleted inserted replaced
3074:94ff90275134 3075:40f82b71e4a6
     7  inclusion of the above copyright notice.   This software may not
     7  inclusion of the above copyright notice.   This software may not
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 
       
    13 "{ Package: 'stx:libbasic2' }"
    12 "{ Package: 'stx:libbasic2' }"
    14 
    13 
    15 NameLookupError subclass:#HostAddressLookupError
    14 NameLookupError subclass:#HostAddressLookupError
    16 	instanceVariableNames:''
    15 	instanceVariableNames:''
    17 	classVariableNames:''
    16 	classVariableNames:''
    40 initialize
    39 initialize
    41 
    40 
    42     NotifierString := 'Cannot resolve host address'
    41     NotifierString := 'Cannot resolve host address'
    43 ! !
    42 ! !
    44 
    43 
       
    44 !HostAddressLookupError methodsFor:'accessing'!
       
    45 
       
    46 nameToLookup
       
    47     request notNil ifTrue:[
       
    48         ^ request arguments first.
       
    49     ].
       
    50     ^ nil.
       
    51 ! !
       
    52 
    45 !HostAddressLookupError class methodsFor:'documentation'!
    53 !HostAddressLookupError class methodsFor:'documentation'!
    46 
    54 
    47 version
    55 version
    48     ^ '$Header: /cvs/stx/stx/libbasic2/HostAddressLookupError.st,v 1.3 2005-02-02 10:59:43 cg Exp $'
    56     ^ '$Header: /cvs/stx/stx/libbasic2/HostAddressLookupError.st,v 1.4 2013-08-09 14:22:29 cg Exp $'
    49 ! !
    57 ! !
    50 
    58 
       
    59 
    51 HostAddressLookupError initialize!
    60 HostAddressLookupError initialize!