HostNameLookupError.st
author Claus Gittinger <cg@exept.de>
Tue, 25 Jun 2019 14:28:51 +0200
changeset 5050 44fa8672d102
parent 4624 ec2e3e034b79
permissions -rw-r--r--
#DOCUMENTATION by cg class: SharedQueue comment/format in: #next #nextWithTimeout:

"{ Encoding: utf8 }"

"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic2' }"

"{ NameSpace: Smalltalk }"

NameLookupError subclass:#HostNameLookupError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!HostNameLookupError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!HostNameLookupError class methodsFor:'initialization'!

initialize

    NotifierString := 'Cannot resolve host name'
! !

!HostNameLookupError methodsFor:'accessing'!

hostName
    ^ self nameToLookup
!

nameToLookup
    request notNil ifTrue:[
        ^ request canonicalName.
    ].
    ^ nil.
! !

!HostNameLookupError class methodsFor:'documentation'!

version
    ^ '$Header$'
! !


HostNameLookupError initialize!