HostNameLookupError.st
changeset 4624 ec2e3e034b79
parent 3073 d5f3b25d9040
--- a/HostNameLookupError.st	Tue Mar 20 16:35:38 2018 +0100
+++ b/HostNameLookupError.st	Wed Mar 21 00:10:01 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2004 by eXept Software AG
               All Rights Reserved
@@ -11,6 +13,8 @@
 "
 "{ Package: 'stx:libbasic2' }"
 
+"{ NameSpace: Smalltalk }"
+
 NameLookupError subclass:#HostNameLookupError
 	instanceVariableNames:''
 	classVariableNames:''
@@ -43,6 +47,10 @@
 
 !HostNameLookupError methodsFor:'accessing'!
 
+hostName
+    ^ self nameToLookup
+!
+
 nameToLookup
     request notNil ifTrue:[
         ^ request canonicalName.
@@ -53,7 +61,7 @@
 !HostNameLookupError class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/HostNameLookupError.st,v 1.4 2013-08-09 14:22:26 cg Exp $'
+    ^ '$Header$'
 ! !