Narrow exception.
Add tests.