handle exec exception