Process Terminated Exception
constructor(afterTermination: (entity: ProcessModel.Entity) -> Unit? = null, m: String = "Process Terminated!")
Parameters
after Termination
a function to invoke after the process is successfully terminated