Better error management in people DAO and REST API.
PeopleDAO functions now throw an IllegalArgumentException when an invalid id or a null name or surname are provided. People's REST API modified to return a "Bad Request" status when an IllegalArgumentException is catched.
Showing
Please register or sign in to comment