-
29 Nov 2010 9:22 AM #1
ExtJs Direct. Exception handling.
ExtJs Direct. Exception handling.
How can I detect exception message that is raised in "DirectMethod"? Instead of real message I have hardcoded message: "Unable to connect to the server." appended somewhere in extjs sources. Sound like I need to parse xhr.responseText, which is really unusable. Probably, I miss something. I hope there are other way elicit exception message.
Any hints?
thanks in advance.
-
29 Nov 2010 10:01 AM #2
Rather than returning with a type of "rpc", you can return with a type of "error".
Aaron Conran
@aconran
Sencha Architect Development Team
-
29 Nov 2010 3:34 PM #3
So it means I have to deal with it on my own, right? there is no special technics.
Then I would rather use http headers to convey exception details to client.
thank you.
Similar Threads
-
Exception Handling in Ext Direct
By dancablam in forum Ext.DirectReplies: 2Last Post: 27 Jun 2011, 10:38 PM -
How to post in EXTJS Forums ,To know abt Logging and Exception handling is available
By vinodpadmanaban@gmail.com in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 8 Apr 2010, 10:13 PM -
Ext.Direct - Exception handling question
By ThorstenSuckow in forum Ext.DirectReplies: 2Last Post: 18 Sep 2009, 7:31 PM -
Direct Remoting Exception Handling Help
By MoShAn480 in forum Ext.DirectReplies: 3Last Post: 20 Aug 2009, 11:23 PM -
Exception handling.
By rohanforu in forum Ext GWT: DiscussionReplies: 0Last Post: 19 May 2009, 1:50 PM


Reply With Quote