use correct SPL exception