111 reputation
2
bio website
location Ireland
age
visits member for 3 years, 4 months
seen Jul 16 at 15:01

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?