瀏覽代碼

Fix for Trac#589, do not use ExchangeException here ! Copy/paste killed us ?

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2471 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 年之前
父節點
當前提交
07629d6955
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webservices/import.php

+ 1 - 1
webservices/import.php

@@ -304,7 +304,7 @@ try
 	//
 	if (strlen($sCSVData) == 0)
 	{
-		throw new ExchangeException("Missing data - at least one line is expected");
+		throw new BulkLoadException("Missing data - at least one line is expected");
 	}
 
 	if (!MetaModel::IsValidClass($sClass))