System exceptions-how to throw

Hi Guys ,
Like we throw business exceptions, do we need to throw system exceptions also. for example - some application doesnt launch, currently i am throwing business exception but ideally it is a system exception, how do i throw this system exception in my workflow.

Thanks

In throw activity write as “New ApplicationException”.
If you want to put any message then “New ApplicationException(“Your mesaage”)”.

2 Likes

why Application Exception, why not system exception?

There are multiple ways to do this:

  1. Use of try catch
    image
    image
  2. Use of throw
    image

Please how do I handle this exception?

image