Added mechanism to put issues (error messages) to the exception.