Revert "Fix invalid call of the Exception construct method"

This reverts commit 2b902eef3785fe97e7c9582329bd3808a701e5a0.