Description
Currently the Wicket viewer will throw an "unauthorized exception". This makes sense when the object has properties (or collections) but the current user is not authorized to view any of them.
However, if the domain programmer has made a mistake and the class itself actually has no properties or collections at all (eg they forgot to add getters) then we should throw a more meaningful exception to help the programmer realize their mistake.