System Exception in try catch

Hi,
When there is an exception in the process, I like to treat as a Business Exception.
How can I do this? Can you please share code snippet?

For example in my REFramework process, catch section, I like to catch any exception with the process as business Exception so I can follow the Business exception logic.

Thank you,

@A_Learner

Use try catch, in catch use Throw
new BusinessRuleException("exception message you want")

image

Thanks,
Ashok :slightly_smiling_face:

2 Likes

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