Raise rather than throw exception