incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r451897 - /incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js
Date Mon, 02 Oct 2006 07:12:00 GMT
Author: mturyn
Date: Mon Oct  2 00:12:00 2006
New Revision: 451897

URL: http://svn.apache.org/viewvc?view=rev&rev=451897
Log:
Gave a little more information to an exception.

Modified:
    incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js

Modified: incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js?view=diff&rev=451897&r1=451896&r2=451897
==============================================================================
--- incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js Mon Oct  2 00:12:00 2006
@@ -205,6 +205,7 @@
 	//if we got here it means we didn't find any proper definition which is
 	//an error
 	//TODO:  fix exception handling
-	clientSession.handleException(xap.data.DataServiceImpl.DATA_FRAMEWORK_EXCEPTION_TYPE, new
xap.util.Exception("UNHANDLED_TAG_IN_NAMESPACE" + ":  " + element.getNamespaceUri() + ", "
+ element.getLocalName()));
+	var ex =  new xap.util.Exception("UNHANDLED_TAG_IN_NAMESPACE" + ":  " + element.getNamespaceUri()
+ ", " + element.getLocalName()) ;	
+	clientSession.handleException(xap.data.DataServiceImpl.DATA_FRAMEWORK_EXCEPTION_TYPE+ex,ex);
 };
 



Mime
View raw message