throws exception instaed of dying