0 Replies Latest reply on Jun 30, 2010 7:52 AM by carstephun

    Exception Handling for FileReference Upload

    carstephun Level 1

      Hi There,


      I try to find a solution for my exceptions I throw on validating the uploaded file. Every time there is a validation or io or whatever problem on the server side I do throw an AMF exception but unfortunatelly the FileRefernce class identifies this as I/O error 2038.


      Whatever I do I'm not able to retrieve the message I added to the AMF exception. Does anybody found a workaround for this?


      My only solution is to get pass the upload as successfull but store the error in session or db and make another request to check if there was an error and rethrow the AMD exception there.


      r. Sandor