Throw exception if joinAttribute is used

A exception is better than a silent fail: Silent fails can cause very business critical problems that go unnoticed.