Another alternative is to simply log the error and return, which is what the throw clause would ultimately achieve. I guess we could try a different exception type hereto be exact, such as a NullPointterExceptoin or InvalidArgumentException?