In Try catch block I want to seperate exception

In Try catch block, I want to seperate between condition one is “Queue does not exists”, and system exception in. Catch block

Thankyou

For each type of exceptions, you can have separate catch blocks and mention the type of exception from drop down as shown on screenshot. If exception type is system itself, you can check the exception message using exception.message and based on that, you can have different logics in catch block.

Thanks got it. It worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.