To be fair, throwing an NPE is definitely imposing the same restriction. I see your point though.