Throw exceptions on window.alerts.