Bug 143039 - Typo in nsXmlRpcClient.js

r=samuel@sieb.net
sr=heikki
This commit is contained in:
samuel%sieb.net 2002-06-16 06:17:54 +00:00
Родитель 944efbc757
Коммит c311b3b932
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -20,9 +20,9 @@
/*
* nsXmlRpcClient XPCOM component
* Version: $Revision: 1.25 $
* Version: $Revision: 1.26 $
*
* $Id: nsXmlRpcClient.js,v 1.25 2002-06-16 06:14:31 samuel%sieb.net Exp $
* $Id: nsXmlRpcClient.js,v 1.26 2002-06-16 06:17:54 samuel%sieb.net Exp $
*/
/*
@ -91,7 +91,7 @@ nsXmlRpcClient.prototype = {
// Should we care? POST works only on http and https..
if (!oURL.scheme) oURL.scheme = 'http';
if (oURL.scheme != 'http')
throw Components.Exceptions('Only HTTP is supported');
throw Components.Exception('Only HTTP is supported');
this._serverUrl = oURL;
},