1. How elegantly make validation for the case when all fields in object are null? stackoverflow.comI want to throw exception if all fields in object are null, but traditional way for checking on null looks not very smart. What can be another way to do this? ... |