Added the ability to change the args based on the exception