8d80166aaf
Consistently use `ex` for caught exception and `cause` for Exception constructor arguments. Issue gh-8945
Consistently use `ex` for caught exception and `cause` for Exception constructor arguments. Issue gh-8945