import lost exceptions
Merge pull request #5319