Hello,
Version:qooxd00-0.7.3
In case of RPC Service exception, I get a stringified version of remote
exception as per Rpc.js.
I need to build a user-friendly error message instead of the format built by
Rpc.addToStringToObject.
It looks like there is no handle to response["error"] from the client.
Is there any way you can add this feature in Rpc.js?
I modifed Rpc.js as follows.
properties :
/**
* Un-modified error returned by the remote service.
*/
responseError :
{
}
members:
_callInternal:
After the following existing line, I added
var exTest = response["error"];
setResponseError(exTest);
Client
====
buildErrorDialogue(rpcObject.getResponseError());
I think it would be nice to give access to original Response Error.
Thanks,.
Kanugula.
--
View this message in context:
http://www.nabble.com/Where-is-the-handle-to-RPC-response-original-exception--tp15907759p15907759.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel