3 Replies Latest reply on Jun 1, 2010 12:04 AM by kiran@flex

    How to deal with Flex Exceptions ??

    kiran7881 Level 1

      Hi ,

      I know how to handle an Exception when dealing with Flex with server side that is , when an Exception comes from the server side (java) i can easily handle that on the fault event with the help of ErrorMessage .

      But can anybody please let me know how to handle an Exception when it comes on to the ActionScript and show it to the User .

      For instance , i have seen a half example like this :

      try
      {

      }

      catch(error:EOFError)
      {

      MyTextFiled.text = error.toString();
      }

       

      Now please let me know how can i show this to the End User ??

       

       

      And i can only see Errors in ActionScript , is there anything like Exceptions on to Flex??

      Thanks in advance .