DEVIDM-52: Test exception handling.