The function should not return a value, only raise an exception on error.