Is there a way to trap for exceptions that were unhandled anywhere else in a Flex app?

Hi All,
Is there a way I can setup my Flex app to trap exceptions (errors) that are thrown, but not caught anywhere else in my app?  What I'm hoping to do is put some code at the "topmost" layer of my application that will trap for any exceptions that are thrown, and then it can log them and notify the server that an unhandled exception happened in the Flex app.  This will notify me that an error happened, and allow me to troubleshoot the issue by giving me the complete stack trace (and whatever other information I want to send along with the error).
In ASP.NET you can do something like this with ELMAH:
http://code.google.com/p/elmah/
  -Josh

Global exceptions handling in Flex 4 along with FlashPlayer 10.1:
http://www.rialvalue.com/blog/2010/05/13/global-exception-or-error-handling-in-flex/
Best Regards
Martin Andersen

Similar Messages

  • Is there a way to find my iphone that i didnt set up find my iphone app on?

    Is there a way to find my iphone that i didnt set up find my iphone app on?

    No. You could visit your @icloud.com site and click on the Find My Phone app icon to see if it's being detected. It must be online. I don't know if this will work for your.
    What To Do If Your iDevice or Computer Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Mac Computer
           Find My Mac can be used from Find My Phone at iCloud.com and via Find
           My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

  • Is there a way to combine multiple files that were scanned individually into one?*

    Is there a way to combine multiple files that were scanned individually into one?*

    Assuming the scans are all PDFs, here is one easy way:
    Open the first PDF in Preview.
    Duplicate (File > Duplicate) if you want to preserve the original.
    Choose View > Contact Sheet.
    Drag and drop the other files from the Finder into the Contact Sheet window. You can select the files one at a time or multiple files at once.
    Arrange the contact sheet icons in the desired order.
    Save.

  • Is there a way to search for photographs that are missing?

    I have discovered that some shots that I thought had been imported from iphoto are in fact missing (when I go to open them there is a badge with the yield sign and an exclamation point in it)
    I don't think this is the end of the world as I have the original files in various places and can import them (I guess)
    but is there a way to search to find all the shots that are missing?
    right now I'm having to scroll through the whole database in the list format and I have a lot of shots. can't seem to figure out how to do a search for missing shots…
    m

    1. Create a smart album and in the drop down in the top right corner select file status
    2. Check mark the file status box and select 'Offline'
    Now you should have all your 'Offline' (Yellow Exclamation and/or Red Slash) files.
    To reconnect..
    1. Select the missing files.
    2. Go to File and scroll to Manage Referenced Files
    The dialog box will have one of the photos selected
    3. Select the drive and folder that contains the referenced file and select it
    4. Click 'Reconnect All'
    This might not reconnect all of them, but the dialog box will still be open and you can reconnect the ones left.
    Narvon
    Message was edited by: Narvon

  • Is there a way to download all applications that were previously purchased?

    In the past I have many different applications for the iPhone however I have formatted my pc and my phone since then. Is there a way other than to review my entire purchase history to redownload all of my applications from the apps store?

    planb77 wrote:
    Actually there is.
    I'm very much aware of that, but the user wanted to know if there was a way she could download them all at once instead of having to go through them one by one using her purchased history.
    B-rock
    Yes I edited my post about 2 seconds after posting it, but hit 'save' rather than 'post'... apologies, I misread the original question.
    I now cannot edit the response, because it's been replied to...
    Message was edited by: Zoolook

  • I accidentally synced my iPhone 4 to another account before I had the chance to back up my files, is there any way to retrieve the photos that were on my iPhone?

    I had an iPhone 4 that got stolen and just got a new one, so after I had taken important photos I plugged the phone into iTunes and it accidentally restored to my old iPhone data and uploaded all that information, deleting the new photos before I had a chance to back them up. I don't suppose there is any way of retrieving this lost data?

    If these are photos that were synced to your phone, the only way to extract them from your phone is third-party software, like this:
    http://www.wideanglesoftware.com/touchcopy/index.php

  • HT201269 my IPOD touch completely died.  I just got a replacement.  Is there a way to put the songs that were on the old one onto the new one?

    My IPOD touch completely died.  It will not power up.  I bought a replacement.  Is there a way to transfer the music already purchased onto the new IPOD from Itunes?

    Just sync the new iPod with the computer that you used to sync the old iPod.

  • Is there a way to search for shots that iphoto is having a problem with?

    I have upgraded to ilife 08 and now have more than a few shots in a library of 10,000 shots that are missing their links
    have rebuilt all thumbnails and connections and whatnot but still the files that are messed up have stayed messed up
    I think I have backed up files elsewhere so I can reimport as need be (I think).
    so I would like to do a search (somehow) for the files that have problems
    and I would like to replace them/reimport backed up files
    is either/both possible?
    M

    The problem is, Im afraid. that your database has been corrupted. I don't know of anyway to track down the photos that have been dropped from the db in the process, and re-importing them - if you could - would be to import to an unstable and damaged entity.
    Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file. If not, then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same film rolls and pictures as before, however, you will lose your albums, keywords, books, calendars, modified versions etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Events to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library Folder on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Is there any way to retreive deleted videos that were not synced

    I deleted a video on my touch and it was not synced to iTunes.   Is there anyway to retrieve it?

    No if taken by the iPod. You can redownload iTunes purchases by:
    'Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Is there a way to handle system exception ERROR_MESSAGE?

    Hi,
    I have a program executed in background, which produces a bunch of consecutive documents for a set of Bulk Shipments -> TD Loading and TD Delivery Confirmation. To create those documents I use function modules 'OIGI_LOADING_CREATE' and 'OIGI_DEL_CONF_CREATE'  - both from Industry-Solution Oil-and_Gas (IS-Oil).
    In some cases these FM-s produces error messages (E-type) which cancel execution of the program and broke my flow-logic.
    Below are few messages recorded in a job log for my task:
    18.08.2005 15:56:41 Job started                                                                         
    18.08.2005 15:56:41 Step 001 started (program /PTRL/TAS_POSTPONDED_SYNC, variant , user name IMUTAFCHIEV)
    18.08.2005 15:56:58 Shipment 180753 saved                                                               
    18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV                    
    18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV                    
    18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV                    
    18.08.2005 15:57:06 Job cancelled after system exception ERROR_MESSAGE                                  
    Both function modules are not designed to handle any exceptions, and in owr environment (4.6c) there is no documented system exception 'ERROR_MESSAGE' which to be handled in CATCH-ENDCATCH block.
    Is there a way to handle this exception and to track the list of error messages produced by some FM into an internal table, log, whatever, as it is done in the log of the background job. I need to find a way write these messages in my log-tables and to proceed further with my flow-logic.
    FYI: my program executes an RFC call to a remote system and retrieve a list of documents which need to be synchronized with R/3. I loose information, if the R/3 broke my flow-logic.
    Any help would be highly appresiated.
    Many thanks in advance.
    Ivaylo Mutafchiev

    Sven,
    I made few programs where we used business scenario:
    IS-Oil Shipment => IS-Oil Loading Confirmation => IS-Oil Delivery Confirmation.
    All of them are based on Function Module call:
    1. OIGI_LOADING_CREATE and
    2. OIGI_DEL_CONF_CREATE.
    To load shipment I call 1st FM in a way:
      CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
           EXPORTING
                I_SUBRC     = 9  "save and commit
                I_SHNUMBER  = shNumber
                I_VEHICLE   = vehicle
                I_LDPLT     = plant
                I_LDDATE    = loadDate
                I_LDTIME    = loadTime
                I_LDCDAT    = loadDate
                I_VEH_NR    = veh_nr
           TABLES
                T_OIGISVMQ  = quantity_items
                T_OIGISVMQ2 = hpm_append
                T_OIGISIQ   = doc_quan_items
           EXCEPTIONS
                COMMUNICATION_FAILURE = 1 MESSAGE p_error
                SYSTEM_FAILURE = 2 MESSAGE p_error.
    To confirm shipment (status 4) I call the same FM with:
      CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
           EXPORTING
                I_SUBRC    = 39  "confirm & commit 2nd step
                I_SHNUMBER = shNumber
                I_VEHICLE  = vehicle
                I_LDPLT    = werks
           EXCEPTIONS
                COMMUNICATION_FAILURE = 1 MESSAGE sh_error
                SYSTEM_FAILURE = 2 MESSAGE sh_error.
    And finaly to finish process (status = 6) I call 2nd FM in a way:
      CALL FUNCTION 'OIGI_DEL_CONF_CREATE' DESTINATION 'NONE'
           EXPORTING
                I_SUBRC         = 19  "save, confirm and commit
                I_SHNUMBER      = shNumber
                I_RAPID_CONFIRM = 'X'
                I_DDCDAT        = loadDate
                I_DLDATE        = loadDate
                I_DLTIME        = loadTime
           EXCEPTIONS
                COMMUNICATION_FAILURE = 1 MESSAGE p_error
                SYSTEM_FAILURE = 2 MESSAGE p_error.
    FYI: It tooks me some time to 'investigate' and find correct use of these function modules. And I worked VERY CLOSE with our SD consultant.
    For details (what the export parameters and tables consist of) and sample code, please contact me at:
    ivaylo dot mutafchiev at vbs dot bg
    I would be glad to share my knowlege.
    Regards,
    Ivaylo

  • Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Go to the support site for the provider of the MRI software.
    Sounds like it windows/PC. I have ran across that for the CDs that veterinarians provide for digital x-rays.
    I would try on a PC or on yuur Mac with Windows via BootCamp or a virtual machine like VirtualBox

  • Is there a way to force for rendering ALL clips in work area?

    Is there a way to force for rendering ALL clips in work area? All clips: not only the ones with the red horizontal line indicating that they need rendering! I ask for this because the rendered clips preview very smoothly, but the unrendered ones do not! My source footage (and project) involves Full HD (1920*1080i 25fps).

    If a Clip does not need Rendering, it will not be Rendered.
    Basically, what Rendering does is to convert the Clips, that do require Rendering, to DV-AVI (SD Projects on a PC). This will yield AVI files in the Media Cache, Render Files, and for playback, PrE will rely on those. If you look in the Render File folder, you will see a bunch of abstractly named files, but those files are now Linked in the PREL (Project file), and will be used by the program for playback.
    If one were to remove those Render files, and then Open that Project in PrE, they'd receive a message, "Where is file 04u434ip0ow.AVI?" [Note: that is just an example of the abstract Render file name, and is not the actual name, that one would see.]. One could Ignore those now missing Render files, and where they were used, there would then be red lines over those Clips.
    As Steve mentions, the Render files are used only for smoothest playback. As I use DV-AVI files for SD Projects on my PC, I will not need to Render for smoothest playback, until I make changes to the Clips, like overlay Titles, PiP, Effects, etc.. I might never Render the Timeline, even with those additions, but sometimes, I will Render a small segment many times, especially with animated Effects, as I adjust the parameters.
    If one is not getting the smoothest playback, then Rendering all files requiring Rendering will usually improve playback greatly.
    Good luck, and hope that this makes sense.
    Hunt

  • Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab?

    Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab? When there was support for Google Toolbar, I was able to do this; now, whenever I want to search for something, I have to open a new tab to do it, and cut-and-paste my search into the search field in the new tab. I used to be able to highlight, drag, and drop something into the search field and have it automatically open in a new tab. This is enough for me to switch to Chrome . . .

    Set a preference to have searches from the Search Bar (upper right) automatically open all searches in a new tab
    #type '''about:config''' in the URL/Location/Address bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''browser.search.openintab'''
    #in the lower panel, double click the item (or right-click and choose "Toggle") to change the value to "true"
    #close the about:config tab and test
    #See:
    #*For help with opening/using about:config, also see: http://kb.mozillazine.org/About:config
    #*Also see: http://kb.mozillazine.org/About:config_entries (click on "Browser", scroll down to browser.search.openintab)
    '''Search Bar''': http://support.mozilla.com/en-US/kb/Search+bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    About Google toolbar............
    Google decided that they will no longer produce the Google Toolbar for Firefox 5 and newer version. It is best to move on to other alternatives than to try any "hacks" to the toolbar that may or may not perform in the future. Future versions of Google toolbar will only work with IE7-9. Google Toolbar is not available on any other browser, even Google's own browser.
    *http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    *https://support.mozilla.com/en-US/kb/google-toolbar-not-compatible-firefox?s=google+toolbar&r=0&as=s
    *http://www.google.com/support/toolbar/bin/answer.py?answer=1342452&topic=15356%29
    *Google Toolbar 8 FAQ (IE only): https://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588
    '''''To access your Google Bookmarks visit''''' www.google.com/bookmarks.
    Alternatives:
    *http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    *https://addons.mozilla.org/en-US/firefox/addon/googlebar-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/gbookmarks-google-bookmarks-fo/

  • Software update tab does not do anything. Is there another way to check for updates?

    Helllo,
    I"m trying to update my OS to 10.8.4 but when I click on Apple > software update, nothing happens. How do I fix this problem or is there another way to look for software updates? Thanks!
    Mike

    Download and install 10.8.4 Mountain Lion Update v10.8.4 (Combo). Before you install be sure to do the following:
    Repair the Hard Drive and Permissions - Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • Is there a way to search for damaged/corrupt files in itunes?

    Hi all,
    I have several itunes-purchased files that became damaged when a hard drive of mine went on the fritz a few months ago.  I managed to get most of my files transferred to a new hard drive, but I keep running across songs that are corrupt.  The way I know they are corrupt is they just won't play, even though the file shows up in my library no problem.
    My library is several thousand songs.  Is there any way to test for corrupt songs without going song-by-song manually?

    Sorry, but I don't know what it is you are trying to accomplish and how a spreadsheet program would be related to an iTunes issue. Can you please explain in more detail what it is you're trying to do? If your command of the English language is a barrier for you, try posting in your native language and someone who is fluent in that language may be able to help.
    Regards.

Maybe you are looking for