Removed redundant exception throwing.