Record the exception name