Raise exception for testing.