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.


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

why Application Exception, why not system exception?

There are multiple ways to do this:

  1. Use of try catch
  2. Use of throw