Idea ID: 1661109

SM functions in JavaScript need to follow JS exception model

Status : Delivered
over 2 years ago

When an SM global function like doHTTPRequest() for doSoapRequest() is called in JavaScript, it can fail.

However, it is not possible to catch this failure by JavaScript try..catch.. exception handling.


It should be possible to handle exceptional failures by SM functions used in JavaScript.


References already exist:

QCCR1E135862 Request RTE Errors thrown in a JavaScript try/catch statement to be suppressed 

QCCR1E133784 doHTTPRequest function shows errors even if the call is made between try/catch 

QCCR1E32208 Cannot use JS 'try'/'catch' block to mask exceptions thrown in HttpClientProxy or SoapClientProxy