Make sure we raise the exception, rather than throw it.