Avatar

Level 3

Have you tried the try catch block ?

See the error codes it responds with.

Then look through the properties of the Exception

try
{
    doInit();
} catch(err)
{
    var vDebug = "";
    for (var prop in err)
    { 
       vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
    }
    vDebug += "toString(): " + " value: [" + err.toString() + "]";
    status.rawValue = vDebug;
}

function doInit()
{
    doWebServiceCallThatFails();
}

Have fun with these articles

http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html

http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html