             if (isFinite(this.timeout)) {
                 this.setupTimeout(this, this.timeout);
             }
-        } catch (error) {
-            // TODO [hqm 2008-01] make this send appropriate error event to listener,
-            // and abort the load. 
-            trace("Unable to load requested document.", error);
+        } catch (error:Error) {
+            this.loader = null;
+            this.loadError(this, null);
         }
     }
 }
-
-    /*
-      Event    Summary    Defined By
-      complete
-      Dispatched after all the received data is decoded and placed in the data property of the URLLoader object.  
-
-      httpStatus
-      Dispatched if a call to URLLoader.load() attempts to access data over HTTP and the current Flash Player environment is able to detect and return the status code for the request.   URLLoader
-        
-      ioError
-      Dispatched if a call to URLLoader.load() results in a fatal error that terminates the download. URLLoader
-        
-      open
-      Dispatched when the download operation commences following a call to the URLLoader.load() method.   URLLoader
-        
-      progress
-      Dispatched when data is received as the download operation progresses.  URLLoader
-        
-      securityError
-      Dispatched if a call to URLLoader.load() attempts to load data from a server outside the security sandbox.  URLLoader
-    */

    
    public function getResponseHeader (key:String) :String {
        // There seems to be no way to get response headers in the flash.net URLLoader API
        trace('getResponseHeader not implemented in swf9');
        return null;
    }


/**
  * LzHTTPLoader.as
  *
  * @copyright Copyright 2007-2010 Laszlo Systems, Inc.  All Rights Reserved.
  *            Use is subject to license terms.
  *
  * @topic Kernel
