1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
    Andrew.Golik is on a distinguished road

      0  

    Default 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.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,175
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Rather than returning with a type of "rpc", you can return with a type of "error".
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
    Andrew.Golik is on a distinguished road

      0  

    Default


    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

  1. Exception Handling in Ext Direct
    By dancablam in forum Ext.Direct
    Replies: 2
    Last Post: 27 Jun 2011, 10:38 PM
  2. 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 & Discussion
    Replies: 0
    Last Post: 8 Apr 2010, 10:13 PM
  3. Ext.Direct - Exception handling question
    By ThorstenSuckow in forum Ext.Direct
    Replies: 2
    Last Post: 18 Sep 2009, 7:31 PM
  4. Direct Remoting Exception Handling Help
    By MoShAn480 in forum Ext.Direct
    Replies: 3
    Last Post: 20 Aug 2009, 11:23 PM
  5. Exception handling.
    By rohanforu in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 19 May 2009, 1:50 PM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi