Suppressing Errors Displayed by Business Component Services

Invoking a component service operation may result in an error message being displayed to the end-user.

You can, however, prevent an error message from being displayed by the component service operation so that you can handle the exception yourself. This is done by passing useDefault=false in the callback. For example:

CaseInformationService.getCaseInformation(summary,
{
useDefault: false,
onSuccess: function () {
     .
     .
     .