HostNameLookupError.st
author Stefan Vogel <sv@exept.de>
Thu, 16 May 2019 14:54:03 +0200
changeset 4943 e8327124ac63
parent 4624 ec2e3e034b79
permissions -rw-r--r--
#BUGFIX by stefan class: OperationQueue changed: #fetchNextOperationAndExecute (send #signal instead of #signalForAll) #scheduleOperation:asynchronous: Fix race beteween signal(ForAll) and wait.

"{ 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!