No exit is a hint to routers, the JOSM validator warns when not added.  Connecting highways to areas such as buildings without a node tagged as an exit  is also considered bad practice and the JOSM validator will warn for such usage.  Validators are not to be blindly followed but in this case I believe the flags are valid. 