Check all five arguments
Use e.message as exception name