Throw exception on division by zero