111 reputation
2
bio website
location Ireland
age
visits member for 2 years, 11 months
seen May 27 at 8:22

Nov
8
awarded  Supporter
Nov
24
comment Should security restrictions cause a service to return null or throw an exception?
Good point, but you could employ a paradigm like AOP to capture these cases. The Aspect could test for the privilege to call a given operation and redirect/allow processing to continue as appropriate.
Nov
24
awarded  Teacher
Nov
24
answered Discovering elegant ways of coding
Nov
24
answered Should security restrictions cause a service to return null or throw an exception?