Improved error message of Exception