DATACMNS-374 - Improved error handling in case of a missing repository.
In Repositories.getCrudInvoker(…) we now throw an IllegalArgumentException if we cannot find an appropriate repository for the given domain class. Previously it just blew up with a NullPointerException without a clear error message.
Original pull request: #46.
pull/73/merge
Thomas Darimont13 years agocommitted byOliver Gierke
@ -163,6 +163,8 @@ public class Repositories implements Iterable<Class<?>> {
@@ -163,6 +163,8 @@ public class Repositories implements Iterable<Class<?>> {