Modified exception throwing.