Refactoring to avoid unnecessary internally thrown exception