Improved the information in an exception.