made process_with_exception a static call in dispatch if exception thrown