Normalize exception throwing