Skip to main content

All Questions

9 votes
4 answers
6k views

Should Exceptions Be Expressed on the Domain Model?

Let's say that we have a class PersonName and we throw an exception when some one try to create a instance of PersonName passing an invalid name to the constructor. Should the exception ...
Lucas Piske's user avatar